ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Links and Linking in Excel (https://www.excelbanter.com/links-linking-excel/)
-   -   Automatic updates of links between files €“ Excel 2007 (https://www.excelbanter.com/links-linking-excel/205134-automatic-updates-links-between-files-%E2%80%93-excel-2007-a.html)

Mary Ann

Automatic updates of links between files €“ Excel 2007
 
When I open a file with links to another file, a security warning shows in
the message bar showing that automatic update of links has been disabled.
When I go to the Trust Centre it shows that Prompt User on Automatic Update
of Links is selected.
Microsoft help seems to imply that if I dont want to update, I should get a
button Dont Update. However this button does not appear. Nor does an update
button.
When I open the file I want to be able to choose whether to update or not.
What is the process to set this up and then how do I give the two
instructions, Update or Dont Update?


ExcelBanter AI

Answer: Automatic updates of links between files €“ Excel 2007
 
It sounds like you are having trouble with the automatic updates of links between files in Excel 2007. Here's how you can set up the process to choose whether to update or not:
  1. Open Excel and click on the Office button in the top left corner.
  2. Click on Excel Options at the bottom of the menu.
  3. Click on Trust Center in the left-hand menu.
  4. Click on Trust Center Settings in the main window.
  5. Click on External Content in the left-hand menu.
  6. Under Security settings for Workbook Links, select the option that says "Prompt user on automatic update of links".
  7. Click OK to save the changes and close the Trust Center.
  8. Save and close the file with links to another file.

Now, when you open the file with links to another file, you should see a security warning in the message bar. Click on the warning to see your options. You should see a button that says "Enable Content". Click on this button to update the links. If you don't want to update the links, simply click on the X in the top right corner of the warning to close it.

Bill Manville

Automatic updates of links between files €“ Excel 2007
 
Excel 2007 makes the control of link updating harder, in my opinion;
certainly confusing!

As far as I can tell, the old method of controlling the
workbook-specific startup dialog has been replaced by an Excel-wide set
of trust center settings. The result is as you have seen - in order to
enable the links the user has to notice the bar that appears below the
ribbon and click the Options button and then Enable this content.

I am still trying to clarify with Microsoft exactly how they intended
the different settings in Edit Links and in the Trust Center and in
Excel Options to interact. It seems to me to be a bit of a mess.
----
Meanwhile, one option would be to have the users load a small workbook
that does not contain links and have it give the user the choice of
whether or not to update the links; it would then go on to open the
real workbook (using the UpdateLinks argument of Workbooks.Open to give
the required result); it would then close itself.
---
The small workbook would contain a macro in a standard module,
something like this:

Sub Auto_Open()
Application.OnTime Now, "Continue_Open" ' let Excel opening finish
End Sub

Sub Continue_Open()
' runs after the workbook is fully open
Dim iUpdate As Integer
If MsgBox("Shall I update the links?", vbYesNo) = vbYes Then
iUpdate = 3
Else
iUpdate = 0
End If
' change the file name in the next line...
Workbooks.Open ThisWorkbook.Path & "\Real.xls", UpdateLinks:=iUpdate
ThisWorkbook.Close
End Sub

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


Mary Ann

Automatic updates of links between files €“ Excel 2007
 
Thank you Bill. If you are in discussion with Microsoft it might be worth
pointing out the the MS Help refers to a Don't Update button, which doesn't
appear to exist.

"Bill Manville" wrote:

Excel 2007 makes the control of link updating harder, in my opinion;
certainly confusing!

As far as I can tell, the old method of controlling the
workbook-specific startup dialog has been replaced by an Excel-wide set
of trust center settings. The result is as you have seen - in order to
enable the links the user has to notice the bar that appears below the
ribbon and click the Options button and then Enable this content.

I am still trying to clarify with Microsoft exactly how they intended
the different settings in Edit Links and in the Trust Center and in
Excel Options to interact. It seems to me to be a bit of a mess.
----
Meanwhile, one option would be to have the users load a small workbook
that does not contain links and have it give the user the choice of
whether or not to update the links; it would then go on to open the
real workbook (using the UpdateLinks argument of Workbooks.Open to give
the required result); it would then close itself.
---
The small workbook would contain a macro in a standard module,
something like this:

Sub Auto_Open()
Application.OnTime Now, "Continue_Open" ' let Excel opening finish
End Sub

Sub Continue_Open()
' runs after the workbook is fully open
Dim iUpdate As Integer
If MsgBox("Shall I update the links?", vbYesNo) = vbYes Then
iUpdate = 3
Else
iUpdate = 0
End If
' change the file name in the next line...
Workbooks.Open ThisWorkbook.Path & "\Real.xls", UpdateLinks:=iUpdate
ThisWorkbook.Close
End Sub

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup



Paul Wetter

Automatic updates of links between files €“ Excel 2007
 
This post is a little stale but, it best describes the issues I have been
having and it sounds like you were looking into it further.

I too have several workbooks that are linked and the users of these
workbooks would rather have a choice on wheather to update links or not. The
major problem is as stated, that the prompts to appear as the documentation
tells you they should.

This is my scenario:
1. Users have several workbooks that have links to others.
2. Users do not want the links to always automatically update.
3. Users would like these source locations to also be in trusted sites for
their macros.

This is where we run into the issue. When the workbook is in the trusted
sites, it will not follow the rules to prompt for updating links (like Excel
2003 did). Even with the settings of "Ask to update automatic links" in the
options and the Startup Prompt set to "Let users choose to display the alert
or not", the links will update regardless. If you set the startup to "Don't
display the alert and don't update automatic links" then the links do not
update but, they don't prompt either.

Did you get any further with Microsoft on working with linked workbooks? To
me it still seems there is something broken as it does not behave how the
Excel documentation says it should.

Any input would be great.
Thanks!

"Bill Manville" wrote:

Excel 2007 makes the control of link updating harder, in my opinion;
certainly confusing!

As far as I can tell, the old method of controlling the
workbook-specific startup dialog has been replaced by an Excel-wide set
of trust center settings. The result is as you have seen - in order to
enable the links the user has to notice the bar that appears below the
ribbon and click the Options button and then Enable this content.

I am still trying to clarify with Microsoft exactly how they intended
the different settings in Edit Links and in the Trust Center and in
Excel Options to interact. It seems to me to be a bit of a mess.
----
Meanwhile, one option would be to have the users load a small workbook
that does not contain links and have it give the user the choice of
whether or not to update the links; it would then go on to open the
real workbook (using the UpdateLinks argument of Workbooks.Open to give
the required result); it would then close itself.
---
The small workbook would contain a macro in a standard module,
something like this:

Sub Auto_Open()
Application.OnTime Now, "Continue_Open" ' let Excel opening finish
End Sub

Sub Continue_Open()
' runs after the workbook is fully open
Dim iUpdate As Integer
If MsgBox("Shall I update the links?", vbYesNo) = vbYes Then
iUpdate = 3
Else
iUpdate = 0
End If
' change the file name in the next line...
Workbooks.Open ThisWorkbook.Path & "\Real.xls", UpdateLinks:=iUpdate
ThisWorkbook.Close
End Sub

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup



AdamB

Automatic updates of links between files €“ Excel 2007
 
Paul,

You and I are probably looking for the same answer in the same spots. I've
seen your post on another forum like this as well. I have scoured the
internet trying to find the answer to this problem. It appears no one has an
answer. I really think it's a bug that hopefully Microsoft will address in
SP2 of Office 2007. No matter what, it never prompts, just like you say,
unless the workbook is in an untrusted location. Then you can choose not to
enable content, however then you disable macros as well, which is not ideal.

"Paul Wetter" wrote:

This post is a little stale but, it best describes the issues I have been
having and it sounds like you were looking into it further.

I too have several workbooks that are linked and the users of these
workbooks would rather have a choice on wheather to update links or not. The
major problem is as stated, that the prompts to appear as the documentation
tells you they should.

This is my scenario:
1. Users have several workbooks that have links to others.
2. Users do not want the links to always automatically update.
3. Users would like these source locations to also be in trusted sites for
their macros.

This is where we run into the issue. When the workbook is in the trusted
sites, it will not follow the rules to prompt for updating links (like Excel
2003 did). Even with the settings of "Ask to update automatic links" in the
options and the Startup Prompt set to "Let users choose to display the alert
or not", the links will update regardless. If you set the startup to "Don't
display the alert and don't update automatic links" then the links do not
update but, they don't prompt either.

Did you get any further with Microsoft on working with linked workbooks? To
me it still seems there is something broken as it does not behave how the
Excel documentation says it should.

Any input would be great.
Thanks!

"Bill Manville" wrote:

Excel 2007 makes the control of link updating harder, in my opinion;
certainly confusing!

As far as I can tell, the old method of controlling the
workbook-specific startup dialog has been replaced by an Excel-wide set
of trust center settings. The result is as you have seen - in order to
enable the links the user has to notice the bar that appears below the
ribbon and click the Options button and then Enable this content.

I am still trying to clarify with Microsoft exactly how they intended
the different settings in Edit Links and in the Trust Center and in
Excel Options to interact. It seems to me to be a bit of a mess.
----
Meanwhile, one option would be to have the users load a small workbook
that does not contain links and have it give the user the choice of
whether or not to update the links; it would then go on to open the
real workbook (using the UpdateLinks argument of Workbooks.Open to give
the required result); it would then close itself.
---
The small workbook would contain a macro in a standard module,
something like this:

Sub Auto_Open()
Application.OnTime Now, "Continue_Open" ' let Excel opening finish
End Sub

Sub Continue_Open()
' runs after the workbook is fully open
Dim iUpdate As Integer
If MsgBox("Shall I update the links?", vbYesNo) = vbYes Then
iUpdate = 3
Else
iUpdate = 0
End If
' change the file name in the next line...
Workbooks.Open ThisWorkbook.Path & "\Real.xls", UpdateLinks:=iUpdate
ThisWorkbook.Close
End Sub

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup



GuestionGuy

Automatic updates of links between files €“ Excel 2007
 
Anyone find an answer to this? Office 2007 SP2 did not solve the issue for me.

macropod[_2_]

Automatic updates of links between files €“ Excel 2007
 
Depends on what the issue is. What is the problem you're having?

--
Cheers
macropod
[Microsoft MVP - Word]


"GuestionGuy" wrote in message ...
Anyone find an answer to this? Office 2007 SP2 did not solve the issue for me.


rioj

Quote:

Originally Posted by macropod[_2_] (Post 850326)
Depends on what the issue is. What is the problem you're having?

--
Cheers
macropod
[Microsoft MVP - Word]


"GuestionGuy" wrote in message ...
Anyone find an answer to this? Office 2007 SP2 did not solve the issue for me.

Read the thread.
I need some help on this too, as I use Excel 2007 to calculate the sales prices. For my personnel to always have updated prices, the spreadsheet needs to access my master price sheet (which is password protected).

Please help.
rioj


All times are GMT +1. The time now is 12:53 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com