Workbook_BeforeSave Event

B

Barb Reinhardt

I want to do some other actions when I do a "SAVEAS". Can someone remind me
how to capture that in the BeforeSave event?

Thanks,

Barb Reinhardt
 
J

Jacob Skaria

Hi Barb

In the below workbook event SaveAsUI will return True

Private Sub Workbook_BeforeSave(ByVal SaveAsUI As Boolean, Cancel As Boolean)
End Sub

If this post helps click Yes
 
B

Barb Reinhardt

I did both a save and a saveas and the SaveAsUI showed TRUE for both. It
shouldn't have?

Barb Reinhardt
 
J

Jacob Skaria

You must have tried that in a unsaved workbook..Try that in a saved workbook.

If this post helps click Yes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top