fille frame on userform with data from worksheet

rharri1972

Board Regular
Joined
Nov 12, 2021
Messages
132
Office Version
  1. 2019
Platform
  1. Windows
Hello! I hope to explain this well......
I have a listbox on userform2. This listbox is filled with customer information from worksheet " Customers". Range of information is "A:J"

My goal is to be able to scroll through and find and highlight the particular customer i need and on the click event of "insert" command button, will the call userform3,

This userform3 will have textboxes that I will manually fill but i will also want to some autofilled. Such as Frame 1. Giving the customer that is highlighted...when i click the "insert" button... i want the worksheet for that customer to be read and have cells C,D,E,F,&G filled into Frame 1. These cells are in order.... Address 1, Address2, City, State, Zip Code...... Frame 1 on Userform 3 is Ship To:.

So upon clicking Insert... I would need that customers address information to auto "load" into frame 1 on userform 3.

I have 462 customers and upon clicking the insert button it would have to look through the range in the worksheet to find this customer to load the range of cells needed into the frame.

I hope this hasn't confused you and you will accept this challenge.

Thanks, in advance.
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
You said here:
Such as Frame 1. Giving the customer that is highlighted...when i click the "insert" button... i want the worksheet for that customer to be read and have cells C,D,E,F,&G filled into Frame 1

A Frame is designed to put controls in Like Textboxes or comboboxes or the like.
You cannot put pure text into a Frame.
And why do you mention Userform3

Do you already have more the one Userform for this project?
 
Upvote 0

Forum statistics

Threads
1,214,938
Messages
6,122,346
Members
449,080
Latest member
Armadillos

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