D
David Sedberry
Is there a way to tell if a save event is generated by a macro rather than
by a user pressing the save button?
I have an add-in using the appl_workbookbeforesave event to display the
Document Properties dialog box anytime a user saves a workbook (my company
is big on using Document Properties). This works great, the document
properties dialog box shows when a user clicks 'Save' or 'Save As' or clicks
'yes' when given the '...do you want to save changes' dialog. The document
properties dialog does not show when a macro saves a workbook (this is the
desired behavior).
I added a form with instructions on filing in the document properties. A
checkbox on the form allows the user to disable the instruction form.
However, when the Instruction form is enabled, it shows up when a macro
saves a workbook. I don't want this to happen.
I need a way to determine if a save event is generated by a macro or by a
user pushing a button.
Thanks in advance
David Sedberry
by a user pressing the save button?
I have an add-in using the appl_workbookbeforesave event to display the
Document Properties dialog box anytime a user saves a workbook (my company
is big on using Document Properties). This works great, the document
properties dialog box shows when a user clicks 'Save' or 'Save As' or clicks
'yes' when given the '...do you want to save changes' dialog. The document
properties dialog does not show when a macro saves a workbook (this is the
desired behavior).
I added a form with instructions on filing in the document properties. A
checkbox on the form allows the user to disable the instruction form.
However, when the Instruction form is enabled, it shows up when a macro
saves a workbook. I don't want this to happen.
I need a way to determine if a save event is generated by a macro or by a
user pushing a button.
Thanks in advance
David Sedberry