Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default How to Set VB ComboBox ListFillRange to a Defined Range in an external workbook

How does one set the ListFillRange for a ComboBox placed in a sheet in an
Excel Workbook to be filled from a defined range in another workbook. I am
hoping this can be done such that the external workbook does not need to be
open in order to fill the ComboBox.

I tried assigning the ListFillRange property for the ComboBox to the
following, where the range is located in "sheet1" of the external
"NewBook.xls" workbook.

'C:\[NewBook.xls]Sheet1'!$a$1:$a$10

However, on entering the above the ListFillRange property blanks, losing my
entry. Any ideas would be appreciated.

KSE

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default How to Set VB ComboBox ListFillRange to a Defined Range in an external workbook

The workbook must be open.

Perhaps you could use a querytable to retrieve the data into the current
workbook and then use the results for the listfill range.

--
Regards,
Tom Ogilvy

"Ken" wrote in message
...
How does one set the ListFillRange for a ComboBox placed in a sheet in an
Excel Workbook to be filled from a defined range in another workbook. I

am
hoping this can be done such that the external workbook does not need to

be
open in order to fill the ComboBox.

I tried assigning the ListFillRange property for the ComboBox to the
following, where the range is located in "sheet1" of the external
"NewBook.xls" workbook.

'C:\[NewBook.xls]Sheet1'!$a$1:$a$10

However, on entering the above the ListFillRange property blanks, losing

my
entry. Any ideas would be appreciated.

KSE



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
combobox listfillrange network Helmut Excel Worksheet Functions 0 April 22nd 09 03:27 PM
Transpose technique not populating ListFillRange of ActiveX combobox JimC[_2_] Excel Discussion (Misc queries) 2 September 6th 08 01:07 PM
ComboBox ListFillRange Stefi Excel Discussion (Misc queries) 14 April 21st 08 12:55 PM
Strange problem with a combobox and ListFillRange teddyk Excel Discussion (Misc queries) 1 August 7th 06 09:16 PM
ComboBox - Changing ListFillRange [email protected] Excel Programming 1 May 10th 04 06:12 PM


All times are GMT +1. The time now is 01:29 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"