Workbook_BeforeSave help

juster21

Well-known Member
Joined
Jun 3, 2005
Messages
867
I was messing around with this before and now I cannot shut off this event. I checked in the personal.xlsx and can't find this. Where is this stored? It fires when I close any Excel file
 

Excel Facts

Add Bullets to Range
Select range. Press Ctrl+1. On Number tab, choose Custom. Type Alt+7 then space then @ sign (using 7 on numeric keypad)
Did you check ThisWorkbook module? That is where the workbook_open function operates.
 
Upvote 0
What happens when you save the workbook to indicate a before save macro has fired or is it happening only when you close a workbook?
 
Upvote 0
It happens when I close any workbook. I've looked in my personal.xlsb but there is nothing there. Could it be somewhere else?
 
Upvote 0
My question was what is "It" - what happens when you close a workbook that convinces you an event macro has fired?
 
Upvote 0
oh, sorry. It's placing text in a specific field...adds a row and then adds text in cellA3
 
Upvote 0
oh, sorry. It's placing text in a specific field...adds a row and then adds text in cellA3

Are you sure you don't have a workbook before save event macro or a workbook before close event macro in the workbook?
 
Upvote 0
Not that I can find.
I've looked in the code window but I don't see it anywhere. I realize how dumb this sounds but it's equally frustrating.

None of my macros do this...I've looked in all of the ThisWorksheet modules also.

Possible that maybe I saved this to a different location and it still get pulled into Excel on startup?
 
Upvote 0
Have you tried closing Excel (all open instances) and then restarting it? Do you recall what you did when you were "messing around with this before"?
 
Upvote 0

Forum statistics

Threads
1,214,832
Messages
6,121,849
Members
449,051
Latest member
excelquestion515

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top