Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you friend. Thank you for your reply.
Office_Novice wrote: Option Explicit Private Sub UserForm_Activate() Call CheckStatus(1) 'Do Phase 1 Call CheckStatus(2) 'Do phase 2 'And So on End Sub Function CheckStatus(i As Long) If i = 1 Then UserForm1.CheckBox1.Value = True If i = 2 Then UserForm1.CheckBox2.Value = True If i = 3 Then UserForm1.CheckBox3.Value = True If i = 4 Then UserForm1.CheckBox4.Value = True If i = 5 Then UserForm1.CheckBox5.Value = True End Function Hello all [quoted text clipped - 48 lines] End Sub -- Message posted via OfficeKB.com http://www.officekb.com/Uwe/Forums.a...mming/200812/1 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Date field in user form & Loading a user form on opening workbook | Excel Programming | |||
Call user form from ThisWorkbook; close file if form closed | Excel Programming | |||
Automatically add a textbox to a user form based on user requireme | Excel Programming | |||
User form ComboBox Items: Remember user entries? | Excel Programming | |||
How to: User Form to assign a user defined range to a macro variab | Excel Programming |