Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi There,
I am using a Macro to throw up a "Save As" Prompt when someone creates a new spreadsheet. I would like to know if its possible to make it so that when the "SaveAs" prompt it thrown up, it automatically is in thefolder "w:/PCD Service Desk/Jobs/" Here is the code for the save as macro im using: 'Retrieve file name to use for Save fileSaveName = Application.GetSaveAsFilename( _ fileFilter:="Excel Files (*.xls), *.xls") 'If user specified file name, perform Save and display msgbox If fileSaveName < False Then ActiveWorkbook.SaveAs Filename:=fileSaveName, FileFormat:=xlNormal MsgBox "Save as " & fileSaveName End If This isnt something i made myself, i found the code for it on the internet that someone was kind enough to share. I hope someone can help Regards Zach Nicodemous |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Creating a folder on SaveAs | Excel Discussion (Misc queries) | |||
Need code to save file to new folder, erase from old folder | Excel Discussion (Misc queries) | |||
SaveAS to a specific folder, with operator input of file name | Excel Discussion (Misc queries) | |||
Can't 'SaveAs' Directly to Network Folder | Excel Programming | |||
check and create folder for saveas | Excel Programming |