+ Reply to Thread
Results 1 to 2 of 2

User Intervention Required When Opening Workbooks

  1. #1
    Rob Fernando
    Guest

    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. #2
    ben
    Guest

    RE: 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1