Results 1 to 3 of 3

Force Re-Open of Open Workbook with no confirmation

Threaded View

  1. #1
    Registered User
    Join Date
    04-16-2009
    Location
    Kilkenny, Ireland.
    MS-Off Ver
    Excel 365
    Posts
    47

    Force Re-Open of Open Workbook with no confirmation

    Hi,

    Hopefully this is a relatively straightforward query, would be obliged for any tips on same.

    I have the following piece of code:-

        Workbooks.Open Filename:="test.xls"
    If test.xls is already open when the code is executed I get the expected message: test.xls is already open... Reopening will cause any changes you made to be discarded. Do you want to re-open etc...etc...

    Question: Is there a switch on the open method, or some other technique that I can use that will force the re-opening of the workbook without confirmation?

    Many thanks in advance.

    Orson.
    Last edited by Orson100; 06-11-2009 at 11:10 AM.

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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