J
Jeffp
Hi
this one has me confused but seeing that I'm a newbie it's probably something dumb
There is other code involved here but this is the problem. If I use the #30 this works fine(saves the file as 30comp report.xls) but if I use #31 it saves the file as 1compreport.xls.
It also won't work (not that I need it too) for any number over 30, it seems in testing
Can you help me understand
Thanks to anyone that tries (I"m a little thick
jef
fname = Day(Now() + (31 - Day(Now()))
ActiveWorkbook.SaveAs Filename:=
"C:\My Documents2004\" & fname & "CompReport.xls", CreateBackup:=Fals
this one has me confused but seeing that I'm a newbie it's probably something dumb
There is other code involved here but this is the problem. If I use the #30 this works fine(saves the file as 30comp report.xls) but if I use #31 it saves the file as 1compreport.xls.
It also won't work (not that I need it too) for any number over 30, it seems in testing
Can you help me understand
Thanks to anyone that tries (I"m a little thick
jef
fname = Day(Now() + (31 - Day(Now()))
ActiveWorkbook.SaveAs Filename:=
"C:\My Documents2004\" & fname & "CompReport.xls", CreateBackup:=Fals