There are times you may want a macro to save a file automatically after running a macro. The second macro will save the file with a name called "MyFile". You may specify the path if you need to.
Sub Save()
ActiveWorkbook.Save
End Sub
Sub SaveName()
ActiveWorkbook.SaveAs Filename:="C:\MyFile.xls"
End Sub
Regards,
Praveen KVC
18 January 2010
Monday, January 18, 2010
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment