Thread
:
SaveAs Code
View Single Post
#
2
Posted to microsoft.public.excel.programming
Executor
external usenet poster
Posts: 74
SaveAs Code
Hi Ronbo,
Try this:
' Get the filename with path
sName = ThisWorkbook.FullName
' Add an 'A' to the end of the filename
sName = Left(sName, Len(sName) - 4) & "A.xls"
'Save under new name
ThisWorkbook.SaveAs sName
Hoop This Helps,
Executor
Reply With Quote
Executor
View Public Profile
Find all posts by Executor