Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Open all files in a folder

I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page active at
opening each file?
Can I get rid of the update question? The file always has to be updated.
Thanks for your valued help.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Open all files in a folder

If they are linked, the order shouldn't be an issue. When they are all
open, I would think the links would be updated. In the workbook_Open event,
you could possibly have the main workbook check if the other two are opened,
and if not open them.

--
Regards,
Tom Ogilvy



"Daniel Van Eygen" wrote in message
i.nl...
I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page active at
opening each file?
Can I get rid of the update question? The file always has to be updated.
Thanks for your valued help.




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Open all files in a folder

Thanks Tom,
Opening and updating is not the problem. I need excel to show the "main"
workbook at the first page when it is done opening and updating all 3 files.
At this moment it is displaying one of the other files. It is a matter of
controlling in what sequence the files are opening. I think if I can get
Excel to open the "main" workbook last than it will display as saved
before...?
Daniel

"Tom Ogilvy" wrote in message
...
If they are linked, the order shouldn't be an issue. When they are all
open, I would think the links would be updated. In the workbook_Open

event,
you could possibly have the main workbook check if the other two are

opened,
and if not open them.

--
Regards,
Tom Ogilvy



"Daniel Van Eygen" wrote in message
i.nl...
I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page active

at
opening each file?
Can I get rid of the update question? The file always has to be updated.
Thanks for your valued help.






  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Open all files in a folder

The obvious solution is to not leave things to chance. If you need to
control how they are opened, have the shortcut open one workbook and have
that workbook use its workbook_open event to control all other actions - so
that when the code is complete, you are presented with the layout and
situation you require. .

--
Regards,
Tom Ogilvy


"Daniel Van Eygen" wrote in message
i.nl...
Thanks Tom,
Opening and updating is not the problem. I need excel to show the "main"
workbook at the first page when it is done opening and updating all 3

files.
At this moment it is displaying one of the other files. It is a matter of
controlling in what sequence the files are opening. I think if I can get
Excel to open the "main" workbook last than it will display as saved
before...?
Daniel

"Tom Ogilvy" wrote in message
...
If they are linked, the order shouldn't be an issue. When they are all
open, I would think the links would be updated. In the workbook_Open

event,
you could possibly have the main workbook check if the other two are

opened,
and if not open them.

--
Regards,
Tom Ogilvy



"Daniel Van Eygen" wrote in message
i.nl...
I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page

active
at
opening each file?
Can I get rid of the update question? The file always has to be

updated.
Thanks for your valued help.








  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default Open all files in a folder

Thanks Tom,
I used the workbook_open event and all works fine, exactly as I want. Guess
I needed a little push...
Thanks

"Tom Ogilvy" wrote in message
...
The obvious solution is to not leave things to chance. If you need to
control how they are opened, have the shortcut open one workbook and have
that workbook use its workbook_open event to control all other actions -

so
that when the code is complete, you are presented with the layout and
situation you require. .

--
Regards,
Tom Ogilvy


"Daniel Van Eygen" wrote in message
i.nl...
Thanks Tom,
Opening and updating is not the problem. I need excel to show the "main"
workbook at the first page when it is done opening and updating all 3

files.
At this moment it is displaying one of the other files. It is a matter

of
controlling in what sequence the files are opening. I think if I can get
Excel to open the "main" workbook last than it will display as saved
before...?
Daniel

"Tom Ogilvy" wrote in message
...
If they are linked, the order shouldn't be an issue. When they are

all
open, I would think the links would be updated. In the workbook_Open

event,
you could possibly have the main workbook check if the other two are

opened,
and if not open them.

--
Regards,
Tom Ogilvy



"Daniel Van Eygen" wrote in message
i.nl...
I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main

file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page

active
at
opening each file?
Can I get rid of the update question? The file always has to be

updated.
Thanks for your valued help.












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default Open all files in a folder

Have you tried using a workspace?

File, Save Workspace.

Each file is opened and positioned on the layer that you want.

Lynn

"Daniel Van Eygen" wrote in message li.nl...
I have a folder that contains 3 workbooks. I open those workbooks
automatically from the desktop with a shortcut to Excel.
I need to control the sequence of opening those files as the main file
depends on the information contained in the 2 other workbooks.
How can I control the sequence and how can I make a certain page active at
opening each file?
Can I get rid of the update question? The file always has to be updated.
Thanks for your valued help.

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
Can't Open Certain Excel Files in Folder Charles A C Excel Discussion (Misc queries) 2 March 23rd 07 12:02 AM
Open Excel files in a folder Tom Ogilvy Excel Programming 0 August 20th 03 04:59 PM
Open Excel files in a folder Bob Phillips[_5_] Excel Programming 0 August 20th 03 04:47 PM
How do I get series of files to open from same folder Ron McCormick[_2_] Excel Programming 2 August 18th 03 05:05 PM
open all files in a folder and ... walt Excel Programming 5 August 7th 03 02:23 AM


All times are GMT +1. The time now is 01:33 AM.

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"