6
Answers

How to increment month and Year

Ask a question
Rajkumar R

Rajkumar R

12y
3.1k
1
I have a string variable
Dim SHG As String
SHG = "FILENAME" + "_" + "Jan12"
Here the File name is constant and the Jan12 is not a fixed one.
Here i want to increament this to 13,14,15.. and etc and same as month also like jan,feb,march,april,may,june,july,aug .... dec 
how can i increament thie and store in a variable.
Jan12,Feb12...,Jan13,Feb13...
Post Solution for this post
Thanks in advance

Answers (6)