Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Reference issues in Excel 2003


I am working on a project that requires me to sum data available in another
file. The file in question contains external links, so of course, when you
open it, first there is a read only warning (since it is a shared file and is
often open for editing), and then there is a prompt to update the links.
Being a shared file, if the file is set to update the links without
prompting, it just prompts anyways. The code I am using to open the file is:

Application.DisplayAlerts = False
Workbooks.Open "\\Path\Filename.xls", ReadOnly:=True
Application.DisplayAlerts = True

The file opens in ReadOnly mode just fine, but the prompt still appears
requesting permission to update links, despite DisplayAlerts being false at
the time. Is there a parameter within WorkBooks.Open that bypasses the
links? I do not need the file to update the links since they aren't relative
to my purposes.

--
Burnnie Holliday
Data Wrangler
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,600
Default Reference issues in Excel 2003


Try -

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

Regards,
Peter T

"Burnnie Holliday" wrote in
message ...
I am working on a project that requires me to sum data available in another
file. The file in question contains external links, so of course, when
you
open it, first there is a read only warning (since it is a shared file and
is
often open for editing), and then there is a prompt to update the links.
Being a shared file, if the file is set to update the links without
prompting, it just prompts anyways. The code I am using to open the file
is:

Application.DisplayAlerts = False
Workbooks.Open "\\Path\Filename.xls", ReadOnly:=True
Application.DisplayAlerts = True

The file opens in ReadOnly mode just fine, but the prompt still appears
requesting permission to update links, despite DisplayAlerts being false
at
the time. Is there a parameter within WorkBooks.Open that bypasses the
links? I do not need the file to update the links since they aren't
relative
to my purposes.

--
Burnnie Holliday
Data Wrangler



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Reference issues in Excel 2003


Brilliant! That worked perfectly.
--
Burnnie Holliday
Data Wrangler


"Peter T" wrote:

Try -

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

Regards,
Peter T

"Burnnie Holliday" wrote in
message ...
I am working on a project that requires me to sum data available in another
file. The file in question contains external links, so of course, when
you
open it, first there is a read only warning (since it is a shared file and
is
often open for editing), and then there is a prompt to update the links.
Being a shared file, if the file is set to update the links without
prompting, it just prompts anyways. The code I am using to open the file
is:

Application.DisplayAlerts = False
Workbooks.Open "\\Path\Filename.xls", ReadOnly:=True
Application.DisplayAlerts = True

The file opens in ReadOnly mode just fine, but the prompt still appears
requesting permission to update links, despite DisplayAlerts being false
at
the time. Is there a parameter within WorkBooks.Open that bypasses the
links? I do not need the file to update the links since they aren't
relative
to my purposes.

--
Burnnie Holliday
Data Wrangler




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
Excel 2007 with 2003 issues Neil Holden Excel Discussion (Misc queries) 2 February 18th 10 10:40 AM
CSV issues Excel 2003 Robb Excel Discussion (Misc queries) 1 November 3rd 07 05:46 PM
Printing Issues Excel 2003 Donna Excel Discussion (Misc queries) 1 June 14th 07 01:16 AM
Issues with my excel formula as it needs Circular reference - hlp im_not_excelling Excel Worksheet Functions 1 July 4th 06 08:21 AM
Microsoft Excel 2003 + UTF-8 issues Tapshil Excel Discussion (Misc queries) 0 May 19th 06 04:44 PM


All times are GMT +1. The time now is 03:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"