Oct 23, 2007 #1 cboz Technical User Joined Dec 24, 2002 Messages 42 Location US I want to replace MyName with the tab name of the active sheet in the following code. How is this done? ActiveWorkbook.SaveAs "G:\Procurement\CXB\07 Vendor forecasts\" & MyName & Format(Date + 3, "yymmdd") & ".xls
I want to replace MyName with the tab name of the active sheet in the following code. How is this done? ActiveWorkbook.SaveAs "G:\Procurement\CXB\07 Vendor forecasts\" & MyName & Format(Date + 3, "yymmdd") & ".xls
Oct 23, 2007 #2 S SkipVought Programmer Joined Dec 4, 2001 Messages 47,492 Location US Hi, Code: ActiveWorkbook.SaveAs "G:\Procurement\CXB\07 Vendor forecasts\" & activesheet.name & Format(Date + 3, "yymmdd") & ".xls" Skip, When a diminutive clarvoyant had disappeared from detention, headlines read... Small Medium at Large Upvote 0 Downvote
Hi, Code: ActiveWorkbook.SaveAs "G:\Procurement\CXB\07 Vendor forecasts\" & activesheet.name & Format(Date + 3, "yymmdd") & ".xls" Skip, When a diminutive clarvoyant had disappeared from detention, headlines read... Small Medium at Large
Oct 23, 2007 Thread starter #3 cboz Technical User Joined Dec 24, 2002 Messages 42 Location US Thanks. Upvote 0 Downvote