ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Make "BeforeSave" event supply a default path and file name? (https://www.excelbanter.com/excel-programming/295973-make-beforesave-event-supply-default-path-file-name.html)

quartz

Make "BeforeSave" event supply a default path and file name?
 
In VBA, Excel XP & Win 2k

is there a way when using the "BeforeSave" event to make the "Save As" dialog box pop up with a suggested path and file name already supplied

Is so, could someone please post back example code on how to do this? Thanks in advance.

Frank Kabel

Make "BeforeSave" event supply a default path and file name?
 
Hi
have a look at the GetSaveAsFile method in the VBA help (there's an
example included)

--
Regards
Frank Kabel
Frankfurt, Germany


quartz wrote:
In VBA, Excel XP & Win 2k,

is there a way when using the "BeforeSave" event to make the "Save
As" dialog box pop up with a suggested path and file name already
supplied?

Is so, could someone please post back example code on how to do this?
Thanks in advance.




All times are GMT +1. The time now is 08:56 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com