ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   optionbutton (https://www.excelbanter.com/excel-programming/331316-optionbutton.html)

ZX

optionbutton
 
If i put this code

Set opt = Frame1.Controls.Add("forms.label.1")

with opt
.Top = 12
.Left = 90
.Visible = True
.Caption = "Test"
.......
end with

i dont see the new optionbutton i add.
Why??


ZX

optionbutton
 
of course i meant
Set opt = Frame1.Controls.Add("forms.optionbutton.1")


with opt
.Top = 12
.Left = 90
.Visible = True
.Caption = "Test"
.......
end with



All times are GMT +1. The time now is 08:32 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com