View Single Post
 
Old 05-13-2019, 11:35 AM
gmaxey gmaxey is offline Windows 10 Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

It didn't work because it was out of order:


Code:
Private Sub Document_New()
  With formMain
    .optSch1.Caption = "School One"
    .optSch2.Caption = "School Two"
    .optSch3.Caption = "School Three"
    .Show
  End With
End Sub

It goes in the form module initialize event and you don't need "Me"


Code:
Private Sub UserForm_Initialize()
  optSch1.Caption = "School One"
  optSch1.Caption = "School Two"
  optSch1.Caption = "School Three"
End Sub
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote