Thread
:
codes, codes, codes...
View Single Post
#
2
Posted to microsoft.public.excel.misc
Don Guillett
external usenet poster
Posts: 10,124
codes, codes, codes...
Public Sub SaveAsA1()
mypath = "c:\a\"
ThisFile = Sheets("sheet1").Range("A1").Value
'MsgBox mypath & thisfile & ".xls"
ActiveWorkbook.SaveAs Filename:=mypath & ThisFile
End Sub
--
Don Guillett
SalesAid Software
"jatman" wrote in message
...
i have the following code:
Public Sub SaveAsA1()
ThisFile = Range("A1").Value
ActiveWorkbook.SaveAs Filename:=ThisFile
End Sub
i understand the above code, but what i need it to do is in this order is:
save (like above into a target folder such as C:\Documents and
Settings\All
Users\Documents\Folder Name\Filename ...
after the save, it prints out a copy of the file.
thank you,
jatman
Reply With Quote
Don Guillett
View Public Profile
Find all posts by Don Guillett