Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using the following code in the "before save" declaration in the
workbook code. It works great except for one problem. It doesn't save the workbook in the directory I want it to. How do I get it to save in a certain directory/folder? Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean) Application.EnableEvents = False Cancel = True ThisWorkbook.SaveAs Worksheets("DEVIATION REPORT").Range("AM49").Value Application.EnableEvents = True End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Save file to same directory folder | Excel Discussion (Misc queries) | |||
Automatically save a file in another directory | Excel Discussion (Misc queries) | |||
open in old directory save in new directory | Excel Programming | |||
Save to directory and create if not exist | Excel Programming | |||
Save File to Another Directory, but not change Users File Save location | Excel Programming |