Combobox multiple cell cange???

friso

New Member
Joined
Apr 1, 2002
Messages
25
Hello,

Lets say i have a combobox on 'Sheet1'!B2
which lists the values in range 'Sheet2'A1:
'Sheet2'!A50.

Sheet 2 looks someting like this<table><tr><td>Name</td><td>Company</td><td>Number</td><td>Account</td></tr><tr><td>Fred</td><td>fredscomp</td><td>12345</td><td>128</td></tr></table>

the user can select the combobox on sheet1. In this case this would be fred.

Now comes the question:

How can i make excel (when fred is selected) to copy the cells 'Sheet2'!A2:'Sheet2'!D2
to 'Sheet1'!C2:'Sheet1'!F2 ????

Thus what i want to know is how to copy a range of cells when a certain item in the listbox is selected.

Anyone that has excel wisdom enough to break this problem?

Thanks.
This message was edited by friso on 2002-04-04 07:07
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.

Forum statistics

Threads
1,213,496
Messages
6,113,995
Members
448,539
Latest member
alex78

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