RE: Getting value off another workbook

philhowell

Board Regular
Joined
Jun 11, 2002
Messages
175
i want to set a combo box's control source as a range of cell in a different workbook... i thought it would be something like this...

Windows("makeCount.xls").Application.Sheets("Sheet4").Range(Cells(5, 2), Cells(101, 2))

but sadly not... :(

Phil
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
dson't think it was as complicated as that, the workbook will be open, all i want to do is populate a combobox with the values from a set range of cells...
 
Upvote 0
On 2002-09-20 03:25, philhowell wrote:
any1...?

how do i populate a combox wit data from a set of cell in another open workwook

Hi,

Name the data you are referencing

Say A1:A10 on sheet2 name "dataforbox"

Use the name in the listfillrange: Sheet2!dataforbox
 
Upvote 0

Forum statistics

Threads
1,221,383
Messages
6,159,535
Members
451,571
Latest member
Qwissy

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