Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default User Intervention Required When Opening Workbooks

Hi,

We're writing a macro that opens a number of workbooks and creates
links to their cells in a master data sheet, and then closes them. The
issue arises when the sheet we are opening contains links to external
sheets. The "This workbook contains one or more links that cannot be
updated." "Continue" or "Edit Links" dialog box comes up. At this point
the user has to click Continue for the macro to keep functioning.

Naturally this defeats the purpose of the macro, does anyone know the
way around this ?

Thanks,
Rob.

  #2   Report Post  
Posted to microsoft.public.excel.programming
ben ben is offline
external usenet poster
 
Posts: 232
Default User Intervention Required When Opening Workbooks

try the line
application.displayalerts = false
...... code here
application.displayalerts = true

--
When you lose your mind, you free your life.


"Rob Fernando" wrote:

Hi,

We're writing a macro that opens a number of workbooks and creates
links to their cells in a master data sheet, and then closes them. The
issue arises when the sheet we are opening contains links to external
sheets. The "This workbook contains one or more links that cannot be
updated." "Continue" or "Edit Links" dialog box comes up. At this point
the user has to click Continue for the macro to keep functioning.

Naturally this defeats the purpose of the macro, does anyone know the
way around this ?

Thanks,
Rob.


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 to Oracle without user intervention Illya Teideman Excel Discussion (Misc queries) 0 March 23rd 07 03:25 PM
User Input Required axissm Excel Worksheet Functions 0 December 5th 06 01:45 PM
Example User Form Required robertguy Excel Discussion (Misc queries) 0 October 4th 05 02:25 PM
Exiting a VBA Macro by user intervention JON Excel Programming 1 April 23rd 04 06:01 PM
make sure macro be loaded without user intervention Soe Excel Programming 3 July 25th 03 05:02 PM


All times are GMT +1. The time now is 08:11 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"