Hey all...
I want to prefix a filename in my macro with the date in the format.
yyyymmdd
To do this, I want to create a string (sDate) that will go on to be used with the GetSaveAsFilename function.
I've tried setting a string equal to the date function, but of course I get forward slashes in the string and that won't do. I also tried using the Year, Month, and Day functions applied to Date as well, but for example in January, I get 1 as the month and not 01.
What am I missing?
I want to prefix a filename in my macro with the date in the format.
yyyymmdd
To do this, I want to create a string (sDate) that will go on to be used with the GetSaveAsFilename function.
I've tried setting a string equal to the date function, but of course I get forward slashes in the string and that won't do. I also tried using the Year, Month, and Day functions applied to Date as well, but for example in January, I get 1 as the month and not 01.
What am I missing?