Good Evening All.
I have a problem with the recorded macro code.
I cannot use this Macro Code The next day because the Input csv file name changes. to " cm09APR2011bhav.csv "
How can i modify this code so that i can use the recorded macro daily irrespective of the date
I have a problem with the recorded macro code.
Code:
ChDir "E:\Macros\Input"
Workbooks.Open Filename:="E:\Macros\Input\cm08APR2011bhav.csv"
ChDir "E:\Macros\Output"
ActiveWorkbook.SaveAs Filename:="E:\Macros\Output\cm08APR2011bhav.txt", FileFormat:=xlCSV _
, CreateBackup:=False
I cannot use this Macro Code The next day because the Input csv file name changes. to " cm09APR2011bhav.csv "
How can i modify this code so that i can use the recorded macro daily irrespective of the date