Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 237
Default Userform using 3 ranges to populate.

I have a userform that contains ComboBox1, TextBox1,
TextBox2, TextBox3, CheckBox1, CheckBox2, and CheckBox3.
Sheet4 contains all the data that the controls of the
userform will use. The values in combobox1 are being
pulled from range M2:M100 on sheet4. There are 3 more
ranges of data corresponding to this range. These a
Range P2:P100(the value in Textbox1 will come from this
range), Range Q2:Q100(the value in Textbox2 will come from
this range), and Range R2:R100(the value in Textbox3 will
come from this range.) Here how the code needs to work.

The user will select a value from the combobox. Whatever
value the user selects, I need for the code to look in the
other 3 ranges and pull the corresponding value from those
ranges and populate the 3 textboxes.


Thank you in advance

Todd Huttenstine
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 493
Default Userform using 3 ranges to populate.

See one suggestion in response to your later post.

In article ,
"Todd Huttenstine" wrote:

I have a userform that contains ComboBox1, TextBox1,
TextBox2, TextBox3, CheckBox1, CheckBox2, and CheckBox3.
Sheet4 contains all the data that the controls of the
userform will use. The values in combobox1 are being
pulled from range M2:M100 on sheet4. There are 3 more
ranges of data corresponding to this range. These a
Range P2:P100(the value in Textbox1 will come from this
range), Range Q2:Q100(the value in Textbox2 will come from
this range), and Range R2:R100(the value in Textbox3 will
come from this range.) Here how the code needs to work.

The user will select a value from the combobox. Whatever
value the user selects, I need for the code to look in the
other 3 ranges and pull the corresponding value from those
ranges and populate the 3 textboxes.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how copy formula that contains ranges so ranges do not overlap Patty Excel Worksheet Functions 1 November 20th 08 04:15 PM
how can i re-populate a userform with data already entered? Paul Dye New Users to Excel 1 January 24th 07 04:49 AM
create a userform to populate a diagram with the forms info Mic Excel Discussion (Misc queries) 0 July 22nd 05 08:07 PM
Range of Cells to populate in a text box on a userform BenjiHarshbarge Excel Programming 1 November 4th 03 10:09 PM
Populate Userform text boxes in VBA with VLookup data from #2 worksheet Laz[_2_] Excel Programming 4 October 8th 03 02:15 AM


All times are GMT +1. The time now is 03:15 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"