473,506 Members | 16,954 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tabbed Userform

9 New Member
I have a userform with several tabbed sheets within it, what code do I need to use to select different tabs automatically in VB?

I want to be able to tell the macro to run page 1 on startup and a "next" function on each sheet to select the next tabbed sheet
Jan 17 '08 #1
3 1173
Killer42
8,435 Recognized Expert Expert
I have a userform with several tabbed sheets within it, what code do I need to use to select different tabs automatically in VB?

I want to be able to tell the macro to run page 1 on startup and a "next" function on each sheet to select the next tabbed sheet
Judging from your use of the term "userform" this is probably not VB at all, but VBA. Is that right? If so, in what product (Eg. Word, Excel, Access, etc.)? If not, what version of VB?
Jan 18 '08 #2
brenty66
7 New Member
Lets say you have a button on your userform that when pressed by the user will go to the next tab on your userform. The code you would have on your button click procedure is as follows:
MultiPage1.Value = 1

Note: the first page has a value of 0, the second page has a value of 1 and so on. Set the value = to which page you want it to take focus on.
Jan 18 '08 #3
Ali Rizwan
925 Contributor
I have some controls doing suchj things i ll upload them today or tommorrow in Howto's you can get them from HowTo's Forum.

Regards
>> ALI <<
Jan 29 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

2
2870
by: Marknanh | last post by:
Simple question. I'm a VBA programmer who has just switched to VB .net. I'm using a UserForm called Form1 with a text box called TextBox1. I'd like to reference the number in the text box in...
0
1652
by: szymon_k | last post by:
Hi. How to set the userform as subform of some access form? What I need to do is to insert some userform into the form, so that it will be under the same conditions of resize, move and other...
3
4945
by: gw.boswell | last post by:
I have created a userform with textboxes for data entry. I also have a command button that calls a second useform. A user enters certain information in the first useform but if he/she wants to do...
2
3236
by: williamyeow | last post by:
Hi i am new to excel VB. can anyone tell me how to link userform to another userform? My concept for my program I have set up a userform with a couple of option. after the user has chose the...
2
1288
by: golf32902 | last post by:
i have a button on sheet 1 and i would like the userform to insert the text i input into sheet 2. And if there is a way the next time i access the userform that is inserts wha i have in the cell...
2
12497
by: hapnendad | last post by:
I am using a selection_change event on a worksheet to launch a userform that will populate the cell when a selection is made from a drop down list box on the form. Selection_change shows form if cell...
3
2125
by: fcgp1985 | last post by:
Hi, I have created a command button that validates information on the userform. For example: While textbox1.Text = "" MsgBox "Please enter the reference of the document.",...
1
4067
by: brenty66 | last post by:
I have a userform that is used as an interface for information stored on excel spreadsheets. The user enters bits of information into fields on the userform which are place on the corresponding...
3
11418
pod
by: pod | last post by:
Hello What I want to do is: from this workbook (thisWB), I want to access a userform's properties that are in another Workbook (toolWB) I can do this for worksheets, but I want to do it as...
0
7218
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7103
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7307
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
7021
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7478
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5035
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3177
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
409
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.