LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Bill Martin -- (Remove NOSPAM from address)
 
Posts: n/a
Default Referencing another Workbook

Within a sheet I can enter a cell of the format:

[ ] = [Book1]Sheet1!A1

When I do this all works well. So then I went ahead and used it
extensively in a macro.

The problem is that this always works properly when I use it directly on
a spreadsheet, but it only works in the macro if I've already opened up
the other workbook within Excel. Somehow a sheet knows to go find the
book if it's not already open, but the macro just throws up it's hands
and fails.

Have I overlooked some step necessary to make this work in a macro?
(incidentally I'm using Excel97 if that makes any difference)

Thanks....

Bill
 
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
HOW DO I SUM TWO CELLS FROM ONE WORKBOOK TO ANOTHER WORKBOOK? Bill O'Neal Excel Worksheet Functions 8 August 14th 09 11:36 PM
How do I save an Excel workbook so that cells referencing another. williejoeshaver Excel Discussion (Misc queries) 1 March 11th 05 09:44 PM
Unprotect Workbook Kent Excel Discussion (Misc queries) 1 February 4th 05 01:07 AM
formula referencing another workbook Steve D Excel Worksheet Functions 2 January 7th 05 09:43 PM
Stubborn toolbars in Excel 007 Excel Discussion (Misc queries) 9 December 11th 04 02:02 PM


All times are GMT +1. The time now is 10:26 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"