+ Reply to Thread
Results 1 to 3 of 3

A dialog stops my macro

  1. #1
    Registered User
    Join Date
    03-06-2007
    Posts
    9

    A dialog stops my macro

    Hi guys.
    First here is my code
    Please Login or Register  to view this content.
    When the namesheet2 is missing in the workbook, a "Select Sheet" message appears stoping my macro. How I can to pass this message in the macro?
    The only way is pressing [ESC] for every cell.
    Another sugestion please?

  2. #2
    Forum Contributor
    Join Date
    12-12-2005
    Posts
    667
    You say "When the namesheet2 is missing..." Excel asks for the missing variable. Of course! You must supply the name or else it is an error!
    Best regards,

    Ray

  3. #3
    Registered User
    Join Date
    03-06-2007
    Posts
    9
    Thanks for your response Ray.
    When a workbook referenced in a formula is missing, excel shows a "Select workbook" dialog box. This can be passed by Application.DisplayAlert = False.
    But, if this workbook is not missing, but the referenced sheet is missing, excel shows a "select sheet" dialog.
    How can this be passed?

+ 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