ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Update Automated Links: No (https://www.excelbanter.com/excel-programming/344048-update-automated-links-no.html)

George

Update Automated Links: No
 
I have a program that opens sequentially a series of workbooks found in a
directory.
The operative command is:
objXLS.Application.Workbooks(strWorkbookName).Acti vate

Some of these workbooks have links to other workbooks, so I get the message:

The workbook you opened contains automatic links to information in another
workbook. Do you want to update this workbook with changes made to the
other
workbook?

In all cases, I do NOT want to update.

How can I open with no update?

Thank you in advance for your help.
George

quartz[_2_]

Update Automated Links: No
 
George,

I do this using the "open" command:

Workbooks.Open Filename:="Filename", UpdateLinks:=False, ReadOnly:=True

HTH.


"George" wrote:

I have a program that opens sequentially a series of workbooks found in a
directory.
The operative command is:
objXLS.Application.Workbooks(strWorkbookName).Acti vate

Some of these workbooks have links to other workbooks, so I get the message:

The workbook you opened contains automatic links to information in another
workbook. Do you want to update this workbook with changes made to the
other
workbook?

In all cases, I do NOT want to update.

How can I open with no update?

Thank you in advance for your help.
George


George

Update Automated Links: No
 
That worked.
Thanks.

"quartz" wrote:

George,

I do this using the "open" command:

Workbooks.Open Filename:="Filename", UpdateLinks:=False, ReadOnly:=True

HTH.


"George" wrote:

I have a program that opens sequentially a series of workbooks found in a
directory.
The operative command is:
objXLS.Application.Workbooks(strWorkbookName).Acti vate

Some of these workbooks have links to other workbooks, so I get the message:

The workbook you opened contains automatic links to information in another
workbook. Do you want to update this workbook with changes made to the
other
workbook?

In all cases, I do NOT want to update.

How can I open with no update?

Thank you in advance for your help.
George



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

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