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

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.

philhowell

Board Regular
Joined
Jun 11, 2002
Messages
175
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...
 

philhowell

Board Regular
Joined
Jun 11, 2002
Messages
175
any1...?

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

rikrak

Active Member
Joined
Aug 21, 2002
Messages
255
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
 

Forum statistics

Threads
1,181,333
Messages
5,929,365
Members
436,664
Latest member
plobo4

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
Top