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: 6
Default Command Button Macro Execution Failure

Under certain conditions I have observed that a command button will not
execute its macro. Conditions are as follows: (1) There is a chart on the
worksheet that is selected or a part of it is selected, and (2) A part of the
worksheet is frozen and the button is located in the frozen area. If no
chart object is selected, the macro will run correctly. If the sheet is not
frozen, or the button is not in the frozen area, the macro will run
correctly. If however, the button is in the frozen area and a chart object
is selected, the macro will not execute. This was difficult to find and this
information may be useful to the Excel VBA community. Please not that
although the workaround of moving the button to an unfrozen area is simple,
the ability to keep the button visable at the top of the worksheet is lost.
I hope this information is useful and saves someone a lot of de-bugging time.

----------------
This post is a suggestion for Microsoft, and Microsoft responds to the
suggestions with the most votes. To vote for this suggestion, click the "I
Agree" button in the message pane. If you do not see the button, follow this
link to open the suggestion in the Microsoft Web-based Newsreader and then
click "I Agree" in the message pane.

http://www.microsoft.com/office/comm...el.programming
 
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
Use Macro To Change Which Macro Assigned To Command Button CVinje Excel Discussion (Misc queries) 0 May 25th 10 09:55 PM
Command Button to run a Macro Mark Allen Excel Worksheet Functions 2 June 4th 07 04:24 PM
Create a button to continue old macro execution Brian Excel Discussion (Misc queries) 0 May 15th 05 10:22 PM
Command Button & Macro alexm999[_10_] Excel Programming 2 January 28th 04 09:12 PM
Macro for command button wcmar10 Excel Programming 0 July 30th 03 09:26 PM


All times are GMT +1. The time now is 12:07 AM.

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"