Hi I'm new at VBA and I'm trying to create a userform with tabstrips. There are 3 textboxes outside the tabstrip. Within the tabstrip, there are 7 tabs and 3 option buttons. There are several problems:
1) UserForm1_Initialise() isn't working. If I try to insert a MsgBox, it won't show up. I don't need a MsgBox but I just wanted to check that initialise is working.
2) For TabStrip1.Value = 0, I think it means that when I open up the userform, the tabstrip will show the first tab (correct me if I'm wrong). However, it doesn't work and the last tab is always shown first. I've checked the values of each tab and I've already set them from 0 to 6 accordingly. Do I need to change my approach or is this another initialise problem?
3) I want to select either 1 or 0 option from each of the tabs. But now, when I select one option under one tab, I can't select another option for other tabs. The option I've selected will stay the same.
Can anyone help me see what's wrong with my code? Thanks!
Here is my code for the userform:
![]()
Please Login or Register to view this content.
Bookmarks