Macro to save file
Would it have something to do with the fact that I am starting with a csv
file?
--
Thank you, Jodie
"Merlynsdad" wrote:
Check for typos; it just worked for me. I put 123456 in A1 and now have
123.xls.
"Jodie" wrote:
Hi Mike, I am getting an "expected end of statement" error at "sheet1".
--
Thank you, Jodie
"Mike H" wrote:
Hi,
Try this
ActiveWorkbook.SaveAs Filename:=Left(Sheets("Sheet1").Range("A1"), 3) & ".xls"
Mike
"Jodie" wrote:
I would like to write a macro to save an excel file with the name being equal
to the first 3 digits of cell A1. Can this be done?
--
Thank you, Jodie
|