VBAPassword after closing Excel

Mrinal

New Member
Joined
Sep 13, 2011
Messages
21
Hi all,

I have a strange issue with my Excel file with VBA program. When ever it is opened in Xp platform and if it is saved before closing, after exiting a new window asking VBAPassword. Either entering correct password or entering cancel 2-3 times that window getting closed. This situation does not arise if I do not save that file before closing. Same file I opened in Windows 7, it never asked for VBAPassword. Can any one give any solution for the same.
With best Regards,
Mrinal
 
By the way Excel version in xp is 2007 and on Windows 7 is 2010. Strangely I used Workbook_BeforeClose code "thisworkbook.saved=true" so that it should not pop msg while closing for save and close without save. But here also it is asking VBApassword after excel exit. If any one has any answer pl tell.
 
Upvote 0

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