Results 1 to 2 of 2
  1. #1
    Silver Lounger
    Join Date
    Dec 2000
    Location
    California, USA
    Posts
    1,758
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Capture Message Upon Opening (03)

    Is it possible to capture this message via code upon opening an Excel file?

    Thanks,
    John

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Capture Message Upon Opening (03)

    If you insert

    Application.DisplayAlerts = False

    before the instruction that opens the file and

    Application.DisplayAlerts = True

    after it, the error message is not displayed, and the file is opened as if it is a text file. You could then inspect one or two cells to see if you have a workable file.

Posting Permissions

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