Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Supressing Update Links Dialog Box

I want to open a file into the background so that when the user is working on
the main sheet, updates carried out by VBA can access the file without the
user knowing where the file is actually located.


I am using the following code:
Set xlApp = GetObject(, "Excel.Application")
xlApp.Application.DisplayAlerts = False
Workbooks.Open ("\\v1sacpdofc2\cpdprojects\CIS Financials\Costs
Projections - bottom up\Nov 04 actuals to end of program - reduced
scope\Gantt Planner Novemeber 2004 Incl New R3.xls")
xlApp.Application.DisplayAlerts = True

However I am always prompted to update the links. I want to always choose no
or have the message never appear.

Jeff

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Supressing Update Links Dialog Box

Workbooks.Open "\\v1sacpdofc2\cpdprojects\CIS Financials\Costs
Projections - bottom up\Nov 04 actuals to end of program - reduced
scope\Gantt Planner Novemeber 2004 Incl New R3.xls", UpdateLinks:=0

change 0 to the option you want. See help for details.


--
Regards,
Tom Ogilvy




"Jeff" wrote in message
...
I want to open a file into the background so that when the user is working

on
the main sheet, updates carried out by VBA can access the file without the
user knowing where the file is actually located.


I am using the following code:
Set xlApp = GetObject(, "Excel.Application")
xlApp.Application.DisplayAlerts = False
Workbooks.Open ("\\v1sacpdofc2\cpdprojects\CIS Financials\Costs
Projections - bottom up\Nov 04 actuals to end of program - reduced
scope\Gantt Planner Novemeber 2004 Incl New R3.xls")
xlApp.Application.DisplayAlerts = True

However I am always prompted to update the links. I want to always choose

no
or have the message never appear.

Jeff



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 921
Default Supressing Update Links Dialog Box

Tom Thanks. I would have never figured it out!

"Tom Ogilvy" wrote:

Workbooks.Open "\\v1sacpdofc2\cpdprojects\CIS Financials\Costs
Projections - bottom up\Nov 04 actuals to end of program - reduced
scope\Gantt Planner Novemeber 2004 Incl New R3.xls", UpdateLinks:=0

change 0 to the option you want. See help for details.


--
Regards,
Tom Ogilvy




"Jeff" wrote in message
...
I want to open a file into the background so that when the user is working

on
the main sheet, updates carried out by VBA can access the file without the
user knowing where the file is actually located.


I am using the following code:
Set xlApp = GetObject(, "Excel.Application")
xlApp.Application.DisplayAlerts = False
Workbooks.Open ("\\v1sacpdofc2\cpdprojects\CIS Financials\Costs
Projections - bottom up\Nov 04 actuals to end of program - reduced
scope\Gantt Planner Novemeber 2004 Incl New R3.xls")
xlApp.Application.DisplayAlerts = True

However I am always prompted to update the links. I want to always choose

no
or have the message never appear.

Jeff




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
Repost: Disabling Update Links dialog box Sandeep Excel Discussion (Misc queries) 3 July 30th 07 07:51 PM
Disabling Update Links dialog box Sandeep Excel Discussion (Misc queries) 0 July 27th 07 11:28 PM
Avoid Update Links dialog in Excel 2003 Ian Chappel Links and Linking in Excel 3 June 29th 07 01:11 PM
Update links box gives Continue or Edit Links dialog KarenF Excel Discussion (Misc queries) 0 May 18th 07 01:17 PM
Disable update links dialog box Sandy[_3_] Excel Programming 10 August 27th 03 02:37 AM


All times are GMT +1. The time now is 08:17 PM.

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"