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 shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
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,214,869
Messages
6,122,012
Members
449,060
Latest member
LinusJE

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