Re: Enable CommandButton1
- From: Leith Ross <Leith.Ross.28e6dm_1148608502.9644@xxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 25 May 2006 20:54:59 -0500
Hello Terri,
Here is code you need to Enable your Command Button. Remeber when
referencing the Command Button from to include the Worksheet in the
reference.
Public Sub EnableButton()
Dim CmdBtn1 As Object
Set CmdBtn1 = Worksheets("Sheet1").Shapes("CommandButton1")
CmdBtn1.ControlFormat.Enabled = True
End Sub
Sincerely,
Leith Ross
--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=18465
View this thread: http://www.excelforum.com/showthread.php?threadid=545719
.
- Prev by Date: Re: VBA - Click mouse to change cursor to cross hair that spans th
- Next by Date: Re: Leftover formatting in code
- Previous by thread: Re: More problems witn Benford's law application
- Next by thread: Re: Enable CommandButton1
- Index(es):
Relevant Pages
|