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: 7
Default Command Buttons - can't click or open properties

I have the following code under WorkbookOpen event:

Sub PrepareForFirstView()
Dim sh As Worksheet
Sheets("Menu").Visible = True
For Each sh In Sheets
If sh.Name < "Menu" Then sh.Visible = False
Next sh
Sheets("Menu").Activate
ActiveWindow.WindowState = xlMaximized

End Sub

On my "Menu" sheet I have 6 command buttons. The sheet and the
workbook are not protected. When not in design mode 5 of the 6 buttons
do nothing when clicked- the 6th button invokes the code normally.
Also, in design mode I cannot get to the properties for those 5
buttons. When I left click the button, it is selected (I can tell by
the little circles on each corner of the button) but then when I right
click and select properties it will only show me the properties for the
sheet. I am able to see the properties for the 6th button.
I am using Excel 2003 in WinXP SP2.

Thanks,

Brent

 
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 do I create a click on + symbol to open a root and click on -. changeyourbodychallenge.com Excel Discussion (Misc queries) 1 December 28th 09 03:22 PM
Click a command Button to open small worksheet. Markman Excel Discussion (Misc queries) 0 March 24th 09 07:21 PM
'Save current worksheet'; 'Open next worksheet' - two command buttons englishmustard Excel Discussion (Misc queries) 1 April 7th 06 12:54 PM
VB FORMs, buttons, window properties carlaruge Excel Programming 1 February 26th 04 11:44 PM
Control Buttons vs. Command Buttons Robert Gibson Excel Programming 1 October 13th 03 04:33 PM


All times are GMT +1. The time now is 11:52 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"