Thread
:
get path - save new file - same sub-directory as existing file
View Single Post
#
1
Posted to microsoft.public.excel.programming
Chip Pearson
external usenet poster
Posts: 7,247
get path - save new file - same sub-directory as existing file
Try something like
ActiveWorkbook.SaveAs Filename:=ActiveWorkbook.Path & _
"\" & Format(Range("H22").Value,"d MMMM yyyy) & " New.xls"
--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com
"tegger" wrote in message
...
Is it possible to amend this code to get the path so as to save the new
file
in the same sub-directory as the existing file?
Worksheets(1).Select
ActiveWorkbook.SaveAs Filename:=Format(Range("H22").Value, "d MMMM yyyy")
&
" NEW.xls" _
--
DL
Reply With Quote
Chip Pearson
View Public Profile
Find all posts by Chip Pearson