LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 191
Default Rowsource from another workbook

That worked great Thank You

"Tim Zych" wrote:

I like to let Excel create it for me.

Dim rng as Range, RowSrc as String
Set rng =
Workbooks("SomeBook.xls").Worksheets("SomeSheet"). Range("ListRange")
RowSrc = rng.address(External:=True)

or if it's a book-level range name

Dim rng as Range, RowSrc as String
Set rng = Workbooks("SomeBook.xls").Names("ListRange").Refer sToRange
RowSrc = rng.Address(External:=True)


--
Tim Zych
www.higherdata.com
Compare data in Excel and find differences with Workbook Compare
A free, powerful, flexible Excel utility
Now with Table Compare for quick table comparisons


"ranswrt" wrote in message
...
I have a workbook that I am using to create estimates on. I have another
workbook that contains the databases for the estimates. How do I set a
listbox rowsource from different workbook than the form with the listbox
is
in?
Thanks






 
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
RowSource Patrick Simonds Excel Programming 1 August 5th 06 01:25 AM
Rowsource referenced to a hidden workbook borg Excel Programming 1 April 13th 06 12:15 AM
listbox rowsource from wrong workbook David Sisson[_2_] Excel Programming 2 October 28th 05 02:13 PM
help with rowsource GMet Excel Programming 4 September 24th 04 02:30 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 03:53 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"