Hi All,
I am working on one vba coding and I am stucked in between and wanted help.
Through the macro, I want one file to be opened from the given location and the name of the file is in below format.
"LearnersinMandateDataExport_3657_11302015.xlsx"
In the above format only date changes every time and it would always be current date. for example - if I am running macro today. It would always contain the above name with the current date (mmddyyy). given as below for today
"LearnersinMandateDataExport_3657_01192016.xlsx"
I tried somewhat below.
"Workbooks.Open Filename:= _
"C:\Raw Data\" & Format("LearnersinMandateDataExport_3657_""mmddyyyy"")"
Thank you in advance for help.
I am working on one vba coding and I am stucked in between and wanted help.
Through the macro, I want one file to be opened from the given location and the name of the file is in below format.
"LearnersinMandateDataExport_3657_11302015.xlsx"
In the above format only date changes every time and it would always be current date. for example - if I am running macro today. It would always contain the above name with the current date (mmddyyy). given as below for today
"LearnersinMandateDataExport_3657_01192016.xlsx"
I tried somewhat below.
"Workbooks.Open Filename:= _
"C:\Raw Data\" & Format("LearnersinMandateDataExport_3657_""mmddyyyy"")"
Thank you in advance for help.