rename excel file name
The usual way to rename an excel file from within Excel is to SaveAs the new
name:
Sub Macro2()
Sheets("Sheet1").Activate
ActiveWorkbook.SaveAs Filename:=Range("A1").Value
End Sub
--
Gary''s Student - gsnu200850
"TJ" wrote:
Hi ,
Sorry my question was that I would like to rename the excel file to say
whatever maybe typed in cell A1
regards
TJ
|