Need Help with TabStrip

Ashley123

New Member
Joined
Dec 7, 2016
Messages
1
Hi Guys, I'm sorry for asking because I'm sure the answer is obvious, but many, many Google searches have not provided me a solution. I'm trying to get a userform to send data to specific cells based on what tab is selected. I have a combobox and a textbox on the tabs. I was the data to go into column 1-2 if tabstrip1, 3-4 if tabstrip2, etc. So normally my code would look like -
Cells(emptyRow, 1).Value = ComboBox1.Value
Cells(emptyRow, 2).Value = TextBox1.Value
But I can't figure out how to make it read the tab value since they are all called combobox1 & textbox1. I know I can do this all with pages, but I like the uniformity of tabstrips. I tried tabstrip1.combobox1.value but that gave me an error. A point in the right direction would be greatly appreciated.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
You can use the TabStrip's value to determine which tab is active and from that which columns the data from the combobox and textbox should go in.
 
Upvote 0

Forum statistics

Threads
1,214,982
Messages
6,122,575
Members
449,089
Latest member
Motoracer88

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top