Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Can't access to a WorkBook

I Open Excel from Start Menu, then I open again Excel form Start Menu, now I
have two Exels, opened.

I've two workbooks opened, but each one in one different Excel's windows,
how can I work with both by code?

The sentence:

?Workbooks.count

only returns one.
I open one workbook, and then another aplications creates a new workbook, in
the Window menu I only see the current window in each Excel, but I have two
workbooks opened in two Excel.

I'm using Excel 2002.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 68
Default Can't access to a WorkBook

You have created completely separate instances of Excel. To see both
workbooks using one set of code you must open both in the one instance of
Excel. I cannot think why you need two instances of Excel to be running
concurrently, the memory overhead alone makes it very inefficient.

Start Excel and the Open each workbook, you can switch between Windows and
manipulate both (or more) workbooks in one set of code in VBA.

Cheers
Nigel

"Jordi" wrote in message
...
I Open Excel from Start Menu, then I open again Excel form Start Menu, now

I
have two Exels, opened.

I've two workbooks opened, but each one in one different Excel's windows,
how can I work with both by code?

The sentence:

?Workbooks.count

only returns one.
I open one workbook, and then another aplications creates a new workbook,

in
the Window menu I only see the current window in each Excel, but I have

two
workbooks opened in two Excel.

I'm using Excel 2002.






----== Posted via Newsfeed.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeed.com The #1 Newsgroup Service in the World! 100,000 Newsgroups
---= 19 East/West-Coast Specialized Servers - Total Privacy via Encryption =---
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
access cell in other workbook Glynn Taylor Excel Discussion (Misc queries) 3 October 23rd 06 04:31 PM
how to access a cell value in a different workbook. HELP! [email protected] Excel Worksheet Functions 2 October 18th 06 09:32 PM
Workbook with 20+ queries of Access is TOO BIG Kevin76 Excel Discussion (Misc queries) 0 April 26th 06 04:33 PM
link Access workbook to Excel workbook Toinett Excel Discussion (Misc queries) 1 January 31st 05 03:37 PM
Can't access to a Workbook Jordi Excel Programming 1 November 13th 03 11:41 AM


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