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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Radio button in Excel cell

Status
Not open for further replies.

splash2

Technical User
Feb 21, 2006
1
GB
I would like to place radio buttons in cells in an Excel spreadsheet programmatically with VBA, but have not figured out how to yet. Can anyone out there help ?
 
Try this.

Code:
 ActiveSheet.OLEObjects.Add(ClassType:="Forms.OptionButton.1", Link:=False, _
        DisplayAsIcon:=False, Left:=3.75, Top:=1.5, Width:=56.25, Height:= _
        10.5).Select
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top