• Turning off prompts with VBA

    Author
    Topic
    #459976

    I know this has been asked and answered in the past, but I cannot find it. How do you turn off prompts in Excel in VBA from Access?

    thanks

    Viewing 0 reply threads
    Author
    Replies
    • #1161393

      Let’s say you have an Excel.Application object named xlApp. Use

      xlApp.DisplayAlerts = False

      to suppress prompts, and

      xlApp.DisplayAlerts = True

      to display them again.

      • #1161400

        Let’s say you have an Excel.Application object named xlApp. Use

        xlApp.DisplayAlerts = False

        to suppress prompts, and

        xlApp.DisplayAlerts = True

        to display them again.

        Hans,

        Thanks! I just didn’t know the correct keyword.

    Viewing 0 reply threads
    Reply To: Turning off prompts with VBA

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

    Your information: