Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
I wrote a macro to save my documents with the file name that I need, but I
cannot get Excel to prompt me for the desired folder - I always have to hardcode the folder. What am I doing wrong? Sub Save() 'NAME AND SAVE SPREADSHEET ChDir "C:\ExcelOutput\" NEWFILENAME = ActiveSheet.Cells(1, 2).Value ActiveWorkbook.SaveAs Filename:=NEWFILENAME & " " & Format (Date, "mm.dd.yy") & ".xls", _ FileFormat:=xlNormal, Password:="", WriteResPassword:="", _ ReadOnlyRecommended:=False, CreateBackup:=False End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
save as html | Excel Discussion (Misc queries) | |||
Excel 2002 crashing during "Save As" action. | Excel Discussion (Misc queries) | |||
Save & Save As features in file menu of Excel | Excel Discussion (Misc queries) | |||
Missing "Save" and "Save As" functions | Excel Discussion (Misc queries) | |||
Add favorites to "Save" window | Setting up and Configuration of Excel |