Okay, here is a tricky one.
Currently my script prompts for a report month in mmmm yyyy format, like this:
Var1 = InputBox("Please enter the month name for report file.", "Report Month")
Then it uses the Var1 value to complete a file name, like this:
ReportName = "My Monthly Report - " & Var1 & ".xlsm"
Then it opens a workbook and runs the main procedure in that workbook. The procedure prompts for the same information, but for a different purpose. The excel code also checks the user input to make sure it's correct and can also respond to okay and cancel, etc.
So..it all works just fine, but wouldn't it be nice (thinks me) if I only had to enter the input once. Preferably I would allow the Excel prompt to get the info, since it has all those extra error checks and such, then pass the input to my script for the Var1 variable.
What do y'all think?
tod