• Dialogs (close thru VBA) (VBA/MS Excel/97)

    Home » Forums » AskWoody support » Productivity software by function » Visual Basic for Applications » Dialogs (close thru VBA) (VBA/MS Excel/97)

    • This topic has 1 reply, 1 voice, and was last updated 23 years ago.
    Author
    Topic
    #371225

    As part of a project I am developing, a user prints a label.

    I have a new sheet inserted into the workbook and then the relevant address details pasted before the sheet is deleted. (The user does not see any of this.)

    My problem is that the confirmation dialog appears when the sheet is about to be deleted, and I wonder is there a way for it not to appear. Can SendKeys statement provide a solution (but a quick search of the Forum would tend to make one steer clear of that command)?

    If so how can it be used?

    Leigh

    Viewing 0 reply threads
    Author
    Replies
    • #589467

      Solved with the following:

          Application.DisplayAlerts = False

      Leigh

    Viewing 0 reply threads
    Reply To: Dialogs (close thru VBA) (VBA/MS Excel/97)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: