PC Review


Reply
Thread Tools Rate Thread

Connect Files

 
 
Doug
Guest
Posts: n/a
 
      4th Oct 2009
I put this post under Gerneral Questions. I didn't get any good response so
I thought I would ask the experts.

I have 2 files, File2 gets data from File1. I used a formula in file2
=X:\Folder\[File1.xls]Totals'!$D$2. If both files are open on the same
computer, File2 updates automatically when data in File1 is changed. If I
open File2 on another computer I get a window that asks to "Update File". I
click OK and the file opens with the correct information, however it doesn't
update if data on File1 is changed after File2 is open.

Is there a way to have File2 update automatically when File1 is changed?

Thanks for your help.
Doug



 
Reply With Quote
 
 
 
 
Dave Peterson
Guest
Posts: n/a
 
      4th Oct 2009
File1 has to be saved so that File2 can get the info.

And you have to tell excel to go and get those values.

In xl2003 menus:
Edit|Links|select the link|Update values

If it's only one cell, you could just force a re-evaluation of that cell by:
Select the cell, Hit the F2 key, then hit the enter key.

=====
You can test this kind of stuff by opening two instances of excel and opening
each file in those separate instances.




Doug wrote:
>
> I put this post under Gerneral Questions. I didn't get any good response so
> I thought I would ask the experts.
>
> I have 2 files, File2 gets data from File1. I used a formula in file2
> =X:\Folder\[File1.xls]Totals'!$D$2. If both files are open on the same
> computer, File2 updates automatically when data in File1 is changed. If I
> open File2 on another computer I get a window that asks to "Update File". I
> click OK and the file opens with the correct information, however it doesn't
> update if data on File1 is changed after File2 is open.
>
> Is there a way to have File2 update automatically when File1 is changed?
>
> Thanks for your help.
> Doug


--

Dave Peterson
 
Reply With Quote
 
Doug
Guest
Posts: n/a
 
      4th Oct 2009
I have File1 set up so it saves automatically after each entry. I was hoping
to have File2 update without the user doing anything. In other words, they
are just veiwing the screen. Can I write some code to update all the cells
on a timer or if necessary with a command button on File2? Another option
might be, if possible, when File1 saves could it trigger File2 to update?

"Dave Peterson" wrote:

> File1 has to be saved so that File2 can get the info.
>
> And you have to tell excel to go and get those values.
>
> In xl2003 menus:
> Edit|Links|select the link|Update values
>
> If it's only one cell, you could just force a re-evaluation of that cell by:
> Select the cell, Hit the F2 key, then hit the enter key.
>
> =====
> You can test this kind of stuff by opening two instances of excel and opening
> each file in those separate instances.
>
>
>
>
> Doug wrote:
> >
> > I put this post under Gerneral Questions. I didn't get any good response so
> > I thought I would ask the experts.
> >
> > I have 2 files, File2 gets data from File1. I used a formula in file2
> > =X:\Folder\[File1.xls]Totals'!$D$2. If both files are open on the same
> > computer, File2 updates automatically when data in File1 is changed. If I
> > open File2 on another computer I get a window that asks to "Update File". I
> > click OK and the file opens with the correct information, however it doesn't
> > update if data on File1 is changed after File2 is open.
> >
> > Is there a way to have File2 update automatically when File1 is changed?
> >
> > Thanks for your help.
> > Doug

>
> --
>
> Dave Peterson
>

 
Reply With Quote
 
Dan
Guest
Posts: n/a
 
      4th Oct 2009
Hi Doug,

You could look to use VBA to do this. Possible using using the worksheet
event procedures available to you:

Private Sub Worksheet_Change(ByVal Target As Range)

'FORCE A RECALCULATION ON WORKSHEET2

End Sub



"Doug" wrote:

> I have File1 set up so it saves automatically after each entry. I was hoping
> to have File2 update without the user doing anything. In other words, they
> are just veiwing the screen. Can I write some code to update all the cells
> on a timer or if necessary with a command button on File2? Another option
> might be, if possible, when File1 saves could it trigger File2 to update?
>
> "Dave Peterson" wrote:
>
> > File1 has to be saved so that File2 can get the info.
> >
> > And you have to tell excel to go and get those values.
> >
> > In xl2003 menus:
> > Edit|Links|select the link|Update values
> >
> > If it's only one cell, you could just force a re-evaluation of that cell by:
> > Select the cell, Hit the F2 key, then hit the enter key.
> >
> > =====
> > You can test this kind of stuff by opening two instances of excel and opening
> > each file in those separate instances.
> >
> >
> >
> >
> > Doug wrote:
> > >
> > > I put this post under Gerneral Questions. I didn't get any good response so
> > > I thought I would ask the experts.
> > >
> > > I have 2 files, File2 gets data from File1. I used a formula in file2
> > > =X:\Folder\[File1.xls]Totals'!$D$2. If both files are open on the same
> > > computer, File2 updates automatically when data in File1 is changed. If I
> > > open File2 on another computer I get a window that asks to "Update File". I
> > > click OK and the file opens with the correct information, however it doesn't
> > > update if data on File1 is changed after File2 is open.
> > >
> > > Is there a way to have File2 update automatically when File1 is changed?
> > >
> > > Thanks for your help.
> > > Doug

> >
> > --
> >
> > Dave Peterson
> >

 
Reply With Quote
 
Doug
Guest
Posts: n/a
 
      4th Oct 2009
Sorry, I'm a rank amature when it ccome to VB code. The second sheet is
actuall the first sheet in a separate file, it's not just another worksheet.
What code would I use to activate a recalculation in the second file?

Thanks again
Doug

"Dan" wrote:

> Hi Doug,
>
> You could look to use VBA to do this. Possible using using the worksheet
> event procedures available to you:
>
> Private Sub Worksheet_Change(ByVal Target As Range)
>
> 'FORCE A RECALCULATION ON WORKSHEET2
>
> End Sub
>
>
>
> "Doug" wrote:
>
> > I have File1 set up so it saves automatically after each entry. I was hoping
> > to have File2 update without the user doing anything. In other words, they
> > are just veiwing the screen. Can I write some code to update all the cells
> > on a timer or if necessary with a command button on File2? Another option
> > might be, if possible, when File1 saves could it trigger File2 to update?
> >
> > "Dave Peterson" wrote:
> >
> > > File1 has to be saved so that File2 can get the info.
> > >
> > > And you have to tell excel to go and get those values.
> > >
> > > In xl2003 menus:
> > > Edit|Links|select the link|Update values
> > >
> > > If it's only one cell, you could just force a re-evaluation of that cell by:
> > > Select the cell, Hit the F2 key, then hit the enter key.
> > >
> > > =====
> > > You can test this kind of stuff by opening two instances of excel and opening
> > > each file in those separate instances.
> > >
> > >
> > >
> > >
> > > Doug wrote:
> > > >
> > > > I put this post under Gerneral Questions. I didn't get any good response so
> > > > I thought I would ask the experts.
> > > >
> > > > I have 2 files, File2 gets data from File1. I used a formula in file2
> > > > =X:\Folder\[File1.xls]Totals'!$D$2. If both files are open on the same
> > > > computer, File2 updates automatically when data in File1 is changed. If I
> > > > open File2 on another computer I get a window that asks to "Update File". I
> > > > click OK and the file opens with the correct information, however it doesn't
> > > > update if data on File1 is changed after File2 is open.
> > > >
> > > > Is there a way to have File2 update automatically when File1 is changed?
> > > >
> > > > Thanks for your help.
> > > > Doug
> > >
> > > --
> > >
> > > Dave Peterson
> > >

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Can 'see' desktop, but can't connect to access files ? Chuck [MVP] Windows Vista Networking 0 17th Feb 2008 08:36 PM
Re: Can 'see' desktop, but can't connect to access files ? Robert L. \(MS-MVP\) Windows Vista Networking 0 17th Feb 2008 05:02 PM
Can't connect to help files Iceman Windows XP Help 1 19th Nov 2005 04:19 PM
Can connect via VPN but can not see files or folders Joseph Windows XP Work Remotely 1 9th Jun 2004 03:21 PM
vpn connect do not transfer files jcanaveral Microsoft Windows 2000 0 23rd Dec 2003 09:27 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:59 AM.