Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Rowsource Property

Hi

I have a combo box on a user form and the list is populated from an excel
file. I have set the rowsource property to =sheet1!h2:h6. (the workbook name
= Account.xls). This works fine when the Account.xls is the active workbook.

How can I populate a combo box with values from a hidden workbook. (i.e.:
If the Account.xls workbook is hidden, I don't get any values to the combo
box) I tried to define a range and tried it, still doesn't work!! (i.e.: I
define the input rang eof shee1!h2:h6 as rngInput and specified '=rngInput'
in the rowsource porperty of the combo box.. still doesn't work!!)

Anyone has any idea?

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default Rowsource Property

Add the workbook name:
[MyBook.xls]Sheet1!H2:H6
"Mohan" wrote in message
...
Hi

I have a combo box on a user form and the list is populated from an excel
file. I have set the rowsource property to =sheet1!h2:h6. (the workbook

name
= Account.xls). This works fine when the Account.xls is the active

workbook.

How can I populate a combo box with values from a hidden workbook. (i.e.:
If the Account.xls workbook is hidden, I don't get any values to the combo
box) I tried to define a range and tried it, still doesn't work!! (i.e.:

I
define the input rang eof shee1!h2:h6 as rngInput and specified

'=rngInput'
in the rowsource porperty of the combo box.. still doesn't work!!)

Anyone has any idea?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Rowsource Property

Hi Bob,

Thank you for your help.. it works..

"Bob Umlas" wrote:

Add the workbook name:
[MyBook.xls]Sheet1!H2:H6
"Mohan" wrote in message
...
Hi

I have a combo box on a user form and the list is populated from an excel
file. I have set the rowsource property to =sheet1!h2:h6. (the workbook

name
= Account.xls). This works fine when the Account.xls is the active

workbook.

How can I populate a combo box with values from a hidden workbook. (i.e.:
If the Account.xls workbook is hidden, I don't get any values to the combo
box) I tried to define a range and tried it, still doesn't work!! (i.e.:

I
define the input rang eof shee1!h2:h6 as rngInput and specified

'=rngInput'
in the rowsource porperty of the combo box.. still doesn't work!!)

Anyone has any idea?




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
Runtime error 380: Could not set the List property. invalid property value of listbox jasgrand Excel Programming 0 October 6th 04 09:28 PM
help with rowsource GMet Excel Programming 4 September 24th 04 02:30 PM
Is there a Filename property in PrintOut property Christian[_6_] Excel Programming 4 September 3rd 04 10:12 PM
Could not set the RowSource property Tom Ogilvy Excel Programming 0 August 17th 04 07:48 PM
Using IF, Then with rowsource? CAA[_23_] Excel Programming 8 April 4th 04 08:56 PM


All times are GMT +1. The time now is 06:25 PM.

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

About Us

"It's about Microsoft Excel"