Ark68
Well-known Member
- Joined
- Mar 23, 2004
- Messages
- 4,616
- Office Version
- 365
- 2016
- Platform
- Windows
I have a userform. On this userform, I have a multipage control (multipage1) with 3 pages , the first page (value=0) named "MAIN".
Elsewhere in this userform, I have a frame, named "f4_crew_review".
I'm trying to code the run-time move of frame "f4_crew_review" to multipage1 "MAIN" page.
If I simply code top and left values for the frame in my code, it places it relative to the userform, not the multipage page. How can I ensure the frame is placed within the appropriate multipage page?
Has anyone any guidance for me?
Elsewhere in this userform, I have a frame, named "f4_crew_review".
I'm trying to code the run-time move of frame "f4_crew_review" to multipage1 "MAIN" page.
If I simply code top and left values for the frame in my code, it places it relative to the userform, not the multipage page. How can I ensure the frame is placed within the appropriate multipage page?
Code:
Private Sub v_crews_Click()
uf9_poststaff.Width = 421
With MultiPage1
.Width = 408
f4_crew_review.Top = 6
f4_crew_review.Left = 162
End With
f1_employee_info.Visible = False
f2_staff_schedule.Visible = False
f3_staff_hours_review.Visible = False
f4_crew_review.Visible = True
End Sub
Has anyone any guidance for me?