LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel VBA - Excel crashes when macro button re-assigned problem

I have built a workbook BookA in Excel97 with a number of sheets an
associated macros. BookA is backed up to another one (by copy/past
values from the main 'Current' sheet to the BookA Backup 'Current
sheet. These sheets have worksheet formatting - hence the need fo
paste values. This method has worked fine for over a year.

When I make enhancements to BookA or its associated macros, and wan
to copy these changes to BookA Backup I open BookA and then saved as..
BookA Backup (removing the password), overwriting the earlier versio
of the backup.

When I reopen BookA, the macro buttons on the toolbars have re-assigne
themseves to the backup so I just re-assign them back to BookA.

However, I now find that when I try to re-assign them, BookA crashe
with an application error - access violation (0xc0000005), Address
0x3003e74e (although I think these addresses change).

I can, instead, make a copy of BookA and rename it (and remove th
password) which seems to work, but I am concerned about it crashin
during this reassigning of the buttons. So far it has not crashed i
use, but I am concerned that that BookA will not now be stable.

Any ideas why this might be occurring or suggestions for solving it?

Pau

--
Message posted from http://www.ExcelForum.com

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to remove assigned button in from Macro in Excel 2007 Iraj Excel Discussion (Misc queries) 3 March 13th 09 05:52 PM
Macro assigned to a button Sadcrab Excel Discussion (Misc queries) 12 December 8th 06 11:16 PM
Macro Assigned to a Button zephyr Excel Discussion (Misc queries) 1 October 25th 06 03:33 PM
How do I know what macro is assigned to a button? Denise in NC Excel Discussion (Misc queries) 3 April 3rd 06 02:31 PM
Macro assigned to a button question Anita[_2_] Excel Programming 1 July 30th 03 06:21 PM


All times are GMT +1. The time now is 09:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"