ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Adding code right after the "Save As" dialog box (https://www.excelbanter.com/excel-programming/439207-adding-code-right-after-save-dialog-box.html)

Jess

Adding code right after the "Save As" dialog box
 
I have created an excel application whose footer has -apart from other
things- the full path and file name where the excel workbook resides.

I would like this information (fullpath + file name) to be reflected in the
footer when my user clicks on €śSave as€ť. How can I invoke an event and make
decisions €“change the footer- based upon what my user has entered in Save As?


Rick Rothstein

Adding code right after the "Save As" dialog box
 
The ThisWorkbook module has a BeforeSave event for ThisWorkbook where you
should be able to do that in.

--
Rick (MVP - Excel)


"Jess" wrote in message
...
I have created an excel application whose footer has -apart from other
things- the full path and file name where the excel workbook resides.

I would like this information (fullpath + file name) to be reflected in
the
footer when my user clicks on €śSave as€ť. How can I invoke an event and
make
decisions €“change the footer- based upon what my user has entered in Save
As?



Dave Peterson

Adding code right after the "Save As" dialog box
 
Wouldn't it make more sense to use the _beforeprint event?

Jess wrote:

I have created an excel application whose footer has -apart from other
things- the full path and file name where the excel workbook resides.

I would like this information (fullpath + file name) to be reflected in the
footer when my user clicks on €śSave as€ť. How can I invoke an event and make
decisions €“change the footer- based upon what my user has entered in Save As?


--

Dave Peterson


All times are GMT +1. The time now is 01:53 AM.

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