+ Reply to Thread
Results 1 to 3 of 3

Acknowledge a messagebox programmatically

  1. #1
    Raul
    Guest

    Acknowledge a messagebox programmatically

    I need to create a subroutine that calls a number of existing routines. The
    problem I'm running into is that several of the existing routines display a
    messagebox when they are completed to let the user know the routine has run
    successfully. I'd like to be able to programmatically select OK for each
    messagebox that pops up.

    Can anyone help me with this?

    Thanks in advance,
    Raul

  2. #2
    Tom Ogilvy
    Guest

    Re: Acknowledge a messagebox programmatically

    You would have to use sendkeys to do the OK prior to calling the sub. I
    doubt that would work. If you have access to the routines, put in an
    option to pass a value to it to indicate not to show the message box.

    --
    Regards,
    Tom Ogilvy


    "Raul" <raul@nothere.com> wrote in message
    news:3D3BF97E-153F-4B8F-BC17-1382F222AC61@microsoft.com...
    > I need to create a subroutine that calls a number of existing routines.

    The
    > problem I'm running into is that several of the existing routines display

    a
    > messagebox when they are completed to let the user know the routine has

    run
    > successfully. I'd like to be able to programmatically select OK for each
    > messagebox that pops up.
    >
    > Can anyone help me with this?
    >
    > Thanks in advance,
    > Raul




  3. #3
    Raul
    Guest

    Re: Acknowledge a messagebox programmatically

    Thanks Tom.

    I've resigned myself to doing that, but I was holding out for an elegant
    solution. Oh well, back to the grind.

    Thanks again,
    Raul

    "Tom Ogilvy" wrote:

    > You would have to use sendkeys to do the OK prior to calling the sub. I
    > doubt that would work. If you have access to the routines, put in an
    > option to pass a value to it to indicate not to show the message box.
    >
    > --
    > Regards,
    > Tom Ogilvy
    >
    >
    > "Raul" <raul@nothere.com> wrote in message
    > news:3D3BF97E-153F-4B8F-BC17-1382F222AC61@microsoft.com...
    > > I need to create a subroutine that calls a number of existing routines.

    > The
    > > problem I'm running into is that several of the existing routines display

    > a
    > > messagebox when they are completed to let the user know the routine has

    > run
    > > successfully. I'd like to be able to programmatically select OK for each
    > > messagebox that pops up.
    > >
    > > Can anyone help me with this?
    > >
    > > Thanks in advance,
    > > Raul

    >
    >
    >


+ 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