Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
VBA code to show a save as dialog does not work
Hi all,
I created a macro to intercept the save and save as in excel. Then I want to force people to fill in the properties, which works and then I want to show the save as dialog. The funny thing is that I see the dialog when I start it inside the vb editor, however it never appears on the screen when I run the code from the workbook. I used the following codes: ThisWorkBook.Application.Dialogs(xlDialogSaveAs).S how Excel.Application.Dialogs(xlDialogSaveAs).Show Application.Dialogs(xlDialogSaveAs).Show All of the three appear inside the vb editor but none of them inside my workbook(that is when the user click on the save/save as button) That code does work because it intercepts the save/save as and shows the userform i created. Does anyone know why this is happening?? Thank you. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Auto show properties dialog box on save | Setting up and Configuration of Excel | |||
how to get disk icon on save button of save as dialog like 2000 | Excel Discussion (Misc queries) | |||
Code for a progress dialog?? | Excel Programming | |||
Changing Save As Type in Save as dialog box | Excel Programming | |||
Save As Dialog | Excel Programming |