Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 48
Default Questions about opening a workbook in code

Hello All

when i open a workbook in code, does it open in the same instance of excel,
or a brand new instance.

i have a workbook which i am using as a "dashboard" and i want it to open
other workbooks, but i would also like those to load seperately in the
"background" and not take focus from the workbook with dashboard.

anyone got a suggestion?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default Questions about opening a workbook in code

1. It's the same instance
2. maybe this:
....
application.screenupdating = false
x = activeworkbook.name
'open the files you want.
'after all the files are open then
windows(x).activate
....

--
MacGuy


"DawnTreader" wrote:

Hello All

when i open a workbook in code, does it open in the same instance of excel,
or a brand new instance.

i have a workbook which i am using as a "dashboard" and i want it to open
other workbooks, but i would also like those to load seperately in the
"background" and not take focus from the workbook with dashboard.

anyone got a suggestion?

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
Edit VBA Code without opening the workbook pwrichcreek Excel Programming 9 April 24th 08 07:45 AM
Error on opening more than one workbook containing the same code [email protected] Excel Programming 0 December 14th 06 12:25 PM
error code while opening a workbook [email protected] Excel Programming 0 November 28th 05 01:27 PM
run code on opening workbook and apply code to certain sheets Jane Excel Programming 7 August 8th 05 09:15 AM
Performing code without opening the Workbook Marishah Warren Excel Programming 2 December 25th 03 10:04 AM


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