Home |
Search |
Today's Posts |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That's not what I meant--but may have been what I wrote!
I meant that you'd need different code depending on what type of buttons you used to disable/hide the button. And if you disable/hide either of the buttons, then you won't be able to click on that button to toggle it back to enabled/visible. You'll need some other way to turn it back on--another button with code that points at that other button. And just in case, I meant that you could choose to disable the button or hide it. You don't need to do both. "RichardO <" wrote: Wow, thanks much for your explanations, Dave: For your response to #4, are you saying that if I want to disable/hide and then enable/unhide the button, I should only use the Forms toolbar (and not the controlbox toolbar) and the following code will disable and then enable the button later on? Option Explicit Sub testme01() MsgBox "Yo" With ActiveSheet.Buttons(Application.Caller) Enabled = True 'or Visible = False End With End Sub Richardo --- Message posted from http://www.ExcelForum.com/ -- Dave Peterson |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do you assign a macro to a command button in Excel 2003 | Excel Discussion (Misc queries) | |||
Assign a macro to a command button | Excel Discussion (Misc queries) | |||
Assign a macro to Command Button Object | Excel Discussion (Misc queries) | |||
How do I assign a macro I have created to a Command Button in Exc. | Excel Discussion (Misc queries) | |||
Assign Macro to Command Button | Excel Programming |