Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - How can a reference the Toggle Value from a module 1

Status
Not open for further replies.

tbtcust

Programmer
Oct 26, 2004
214
US
Hello all,

I have an ActiveX toggle button on a worksheet

How can I pull the Value ("True" or "False") from the Toggle in a module using Excel VBA?

Thanks in advance for any help.

 
Assuming the same workbook and first worksheet:
[tt]MsgBox ThisWorkbook.Worksheets(1).ToggleButton1.Value[/tt]

combo
 
Thank you combo. This works. Issue resolved.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top