LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Open workbook in existing Excel session

Hi,

I would like to open a workbook in an existing Excel session with a
macro/ VBA instead of creating a new session.

Background:
I copy certain cells from workbook B to workbook A. This task is
initiated by a macro which is part of the open workbook A. The macro
opens workbook B, copies the cells (or the content of the cells) from
Workbook B to A and closes workbook B again. So far, so good. However,
some cells in the source workbook B cause a runtime error while
copying. The reason seems to be that those cells contain too many
characters; to be precise: more than exactly 910 (!). This means that
cells which contain more than 910 characters cannot be copied this way.
Now I have read somewhere that this limit can be bypassed by opening
both workbooks between which you want to copy in one single Excel
session.

So, does anybody Know how you manage to open a second Excel workbook in
an already existing Excel session by VBA/ macro?

Thanks for any hint on that!!!

Cheers
Markus

 
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
Open mutiple spreadsheets in one session of Excel and use 'ALT' + ppatel Setting up and Configuration of Excel 2 June 23rd 09 09:39 PM
Each New Excel to open in another session tinwasp Excel Worksheet Functions 1 December 8th 05 05:44 PM
Open an existing workbook and reference it TimT Excel Programming 1 October 12th 05 05:11 PM
Open existing workbook Daniel Van Eygen Excel Programming 4 August 25th 04 02:47 PM
Activate Workbook in Separate Excel Session Bob Ewers Excel Programming 2 February 11th 04 11:46 PM


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