Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Referencing cells in another workbook

do you use notation like

Workbooks("Mybook")

if so, change it to

Workbooks("Mybook.xls")

and it should work on both computers. Including the .xls is always the best
course of action. Otherwise it depends on a windows setting to work.

--
Regards,
Tom Ogilvy

"johnh" wrote in message
...
I have two workbooks. The first workbook has macros that get values from
named cells in the second workbook. Everything works fine on one computer.
When I move the directory structure to a second computer and run the

macros,
I get an error when I attempt to get the values of the named cells in the
second workbook. Here's the error.
Run-Time error '9'
Subscript out of range
Any help would be appreciated.



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
Referencing a different Workbook Ken Excel Worksheet Functions 8 November 24th 05 01:20 AM
Referencing another Workbook Bill Martin -- (Remove NOSPAM from address) Excel Discussion (Misc queries) 0 April 6th 05 07:16 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
referencing another workbook steve Excel Programming 0 May 7th 04 02:49 PM
Referencing one workbook in other??? Haldun Alay[_2_] Excel Programming 3 August 20th 03 04:29 PM


All times are GMT +1. The time now is 12:26 PM.

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"