Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 46
Default Working with multiple files/workbooks cross linked

Hi,
It seems that the dozen workbooks I have created and the cross sharing of
nformation with some single filesworkbook sharing several other files /
workbooks need to have the files all open otherwise the paths seems to get a
bit mixed up.

Is there a way then that will open all files related to a group when I want
to work on a particular set of files but as mentioned get ALL the oher files/
workbooks open to ensure the links all work corretly?

Thanks Mike
  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,058
Default Working with multiple files/workbooks cross linked

Here is an example with three workbooks:

first.xls
second.xls
third.xls

Let's say that if one of the files is opened, we want them all opened.

Put the following workbook event code in the workbook code area of each file:

Private Sub Workbook_Open()
Set r = Range("A1")
f1 = "C:\Temp\first.xls"
f2 = "C:\Temp\second.xls"
f3 = "C:\Temp\third.xls"

ActiveWorkbook.FollowHyperlink Address:=f1
ActiveWorkbook.FollowHyperlink Address:=f2
ActiveWorkbook.FollowHyperlink Address:=f3

Application.Goto r

End Sub

The hyperlinking will jump to each of the files. If a file is not open, the
hyperlinking will open it. The goto just returns to the original workbook.
--
Gary''s Student - gsnu200803


"MikeR-Oz" wrote:

Hi,
It seems that the dozen workbooks I have created and the cross sharing of
nformation with some single filesworkbook sharing several other files /
workbooks need to have the files all open otherwise the paths seems to get a
bit mixed up.

Is there a way then that will open all files related to a group when I want
to work on a particular set of files but as mentioned get ALL the oher files/
workbooks open to ensure the links all work corretly?

Thanks Mike

  #3   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 46
Default Working with multiple files/workbooks cross linked

Gary -

I appreciate the reply but I have NO idea what you are talking about in :

"Put the following workbook event code in the workbook code area of each file:

Private Sub Workbook_Open()
Set r = Range("A1")
f1 = "C:\Temp\first.xls"
f2 = "C:\Temp\second.xls"
f3 = "C:\Temp\third.xls"

ActiveWorkbook.FollowHyperlink Address:=f1
ActiveWorkbook.FollowHyperlink Address:=f2
ActiveWorkbook.FollowHyperlink Address:=f3

Application.Goto r

End Sub"


Where excatly is the "workbook code area' ?

I am working on a roster system for work-

I have a series of workbooks i.e files each containing several files. These
workbooks have the same overall shape/ format but will have in the formulae
basic VLOOKUP ain the first worksheet of the book with a =C3 ( or perhps that
should be a =C!3 command in the subsequent sheets to copy across for each
week (Mon - Friday actual days) in the Roster coming off the first sheet (6
week projection) .

But I then need to use the information contained in the Projection file -
workbook to poulate details in a seperate file - workbook. These workbooks
also contain a series of worksheets amounting to the daily roster in a
different format to the 'other' workbook of projections. This second type of
workbook has a formulae

='O:\Linked PTO rosters for all areas\[PTO Projection Blacktown
06_09_20081TEST.xls]6 WEEK ROSTER'!D9


So I wish to be able to group the workbooks and subsequent 'linked'
workbooks together and make a GLOBAL change to a formulae.

Is ths possible??

Cheers
Mike

tudent" wrote:

Here is an example with three workbooks:

first.xls
second.xls
third.xls

Let's say that if one of the files is opened, we want them all opened.

Put the following workbook event code in the workbook code area of each file:

Private Sub Workbook_Open()
Set r = Range("A1")
f1 = "C:\Temp\first.xls"
f2 = "C:\Temp\second.xls"
f3 = "C:\Temp\third.xls"

ActiveWorkbook.FollowHyperlink Address:=f1
ActiveWorkbook.FollowHyperlink Address:=f2
ActiveWorkbook.FollowHyperlink Address:=f3

Application.Goto r

End Sub

The hyperlinking will jump to each of the files. If a file is not open, the
hyperlinking will open it. The goto just returns to the original workbook.
--
Gary''s Student - gsnu200803


"MikeR-Oz" wrote:

Hi,
It seems that the dozen workbooks I have created and the cross sharing of
nformation with some single filesworkbook sharing several other files /
workbooks need to have the files all open otherwise the paths seems to get a
bit mixed up.

Is there a way then that will open all files related to a group when I want
to work on a particular set of files but as mentioned get ALL the oher files/
workbooks open to ensure the links all work corretly?

Thanks Mike

  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 1
Default Working with multiple files/workbooks cross linked

use the option to save as workspace( i am using excel 2007) it is under the
view tab.

"MikeR-Oz" wrote:

Gary -

I appreciate the reply but I have NO idea what you are talking about in :

"Put the following workbook event code in the workbook code area of each file:

Private Sub Workbook_Open()
Set r = Range("A1")
f1 = "C:\Temp\first.xls"
f2 = "C:\Temp\second.xls"
f3 = "C:\Temp\third.xls"

ActiveWorkbook.FollowHyperlink Address:=f1
ActiveWorkbook.FollowHyperlink Address:=f2
ActiveWorkbook.FollowHyperlink Address:=f3

Application.Goto r

End Sub"


Where excatly is the "workbook code area' ?

I am working on a roster system for work-

I have a series of workbooks i.e files each containing several files. These
workbooks have the same overall shape/ format but will have in the formulae
basic VLOOKUP ain the first worksheet of the book with a =C3 ( or perhps that
should be a =C!3 command in the subsequent sheets to copy across for each
week (Mon - Friday actual days) in the Roster coming off the first sheet (6
week projection) .

But I then need to use the information contained in the Projection file -
workbook to poulate details in a seperate file - workbook. These workbooks
also contain a series of worksheets amounting to the daily roster in a
different format to the 'other' workbook of projections. This second type of
workbook has a formulae

='O:\Linked PTO rosters for all areas\[PTO Projection Blacktown
06_09_20081TEST.xls]6 WEEK ROSTER'!D9


So I wish to be able to group the workbooks and subsequent 'linked'
workbooks together and make a GLOBAL change to a formulae.

Is ths possible??

Cheers
Mike

tudent" wrote:

Here is an example with three workbooks:

first.xls
second.xls
third.xls

Let's say that if one of the files is opened, we want them all opened.

Put the following workbook event code in the workbook code area of each file:

Private Sub Workbook_Open()
Set r = Range("A1")
f1 = "C:\Temp\first.xls"
f2 = "C:\Temp\second.xls"
f3 = "C:\Temp\third.xls"

ActiveWorkbook.FollowHyperlink Address:=f1
ActiveWorkbook.FollowHyperlink Address:=f2
ActiveWorkbook.FollowHyperlink Address:=f3

Application.Goto r

End Sub

The hyperlinking will jump to each of the files. If a file is not open, the
hyperlinking will open it. The goto just returns to the original workbook.
--
Gary''s Student - gsnu200803


"MikeR-Oz" wrote:

Hi,
It seems that the dozen workbooks I have created and the cross sharing of
nformation with some single filesworkbook sharing several other files /
workbooks need to have the files all open otherwise the paths seems to get a
bit mixed up.

Is there a way then that will open all files related to a group when I want
to work on a particular set of files but as mentioned get ALL the oher files/
workbooks open to ensure the links all work corretly?

Thanks Mike

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
how to save versions of multiple linked excel files? Chris TT Excel Discussion (Misc queries) 1 February 20th 08 01:17 PM
insert rows and update linked cells in multiple workbooks [email protected] Excel Discussion (Misc queries) 1 April 2nd 07 10:37 PM
Working on Multiple Workbooks create_share Excel Discussion (Misc queries) 1 July 24th 06 12:25 PM
Updating multiple linked workbooks dk New Users to Excel 1 June 9th 06 12:33 AM
How can I move multiple linked workbooks between computers TAG Excel Discussion (Misc queries) 2 November 6th 05 01:33 AM


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