#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35
Default comboboxes

hi

i need to extract data off db.xls onto a combobox found on a form in wk.xls
both on the f drive of the same pc...
please help me with the rowsource syntax to extract data off the external
book's sheet1
regards
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default comboboxes

I think it is easier to use AddItem instead of RowSource, but others
may have a better idea. If you have both workbooks open, you can do
the following:

call ComboBox1.AddItem
(Workbooks("db.xls).sheets("Sheet1").Cells(?,?).va lue)
[repeat this as needed, changing only "Cells(?,?)"]

Hope this helps,
Dom



Zaahir wrote:
hi

i need to extract data off db.xls onto a combobox found on a form in wk.xls
both on the f drive of the same pc...
please help me with the rowsource syntax to extract data off the external
book's sheet1
regards


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
Comboboxes mr-bear New Users to Excel 1 November 21st 06 10:05 AM
comboboxes lgbjr Excel Programming 8 June 1st 05 06:52 AM
Comboboxes Darren Excel Programming 1 January 23rd 05 05:35 PM
ComboBoxes Ryan Excel Programming 0 April 14th 04 10:56 PM
Comboboxes David W[_3_] Excel Programming 1 August 29th 03 11:13 PM


All times are GMT +1. The time now is 10:03 AM.

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"