Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Creating a folder on SaveAs
Hi All, Your assistance is required.
How would I progmatically save an excel file to a folder that doesn't yet exist. I'm writing an attachment to a code that saves a straightforward file, however when the user saves a new file (eg. a new store has opened) I need to identify that store by their Store No. with the related files stored within. So I need to save the file as for example: ActiveWorkbook.SaveAs Filename:="D:\Store Returns\Contacts\StoreNo\" & FileNameSave, FileFormat:=xlNormal With StoreNo being the New Folder that needs to be created and FileNameSave as the File Name. In short how do you create a folder with code. Any assistance would be much appreciated. Regards Lee |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Creating new folder for template charts | Charts and Charting in Excel | |||
Creating a folder | Excel Discussion (Misc queries) | |||
Creating a new folder that does not already exsit. | Excel Discussion (Misc queries) | |||
Creating a List of the files in a folder in excel | Excel Discussion (Misc queries) | |||
SaveAS to a specific folder, with operator input of file name | Excel Discussion (Misc queries) |