+ Reply to Thread
Results 1 to 4 of 4

Modeless window

  1. #1
    Jos Vens
    Guest

    Modeless window

    Hi,

    Is it possible when you open a modeless window (userform) to give the focus
    back to the sheet you were working in, without waiting for a click of the
    user in the sheet.

    This lines did not do the job:

    Set vSheet = ActiveSheet
    myForm.Show False
    vSheet.Select

    or

    vSheet.Activate

    Thanks
    Jos Vens




  2. #2
    Norman Jones
    Guest

    Re: Modeless window

    Hi Jens,

    Try:

    AppActivate Application.Caption

    ---
    Regards,
    Norman



    "Jos Vens" <[email protected]> wrote in message
    news:[email protected]...
    > Hi,
    >
    > Is it possible when you open a modeless window (userform) to give the
    > focus back to the sheet you were working in, without waiting for a click
    > of the user in the sheet.
    >
    > This lines did not do the job:
    >
    > Set vSheet = ActiveSheet
    > myForm.Show False
    > vSheet.Select
    >
    > or
    >
    > vSheet.Activate
    >
    > Thanks
    > Jos Vens
    >
    >
    >




  3. #3
    Jos Vens
    Guest

    Re: Modeless window

    Terrific! It works!

    Thanks a lot
    Jos


    "Norman Jones" <[email protected]> schreef in bericht
    news:%[email protected]...
    > Hi Jens,
    >
    > Try:
    >
    > AppActivate Application.Caption
    >
    > ---
    > Regards,
    > Norman
    >
    >
    >
    > "Jos Vens" <[email protected]> wrote in message
    > news:[email protected]...
    >> Hi,
    >>
    >> Is it possible when you open a modeless window (userform) to give the
    >> focus back to the sheet you were working in, without waiting for a click
    >> of the user in the sheet.
    >>
    >> This lines did not do the job:
    >>
    >> Set vSheet = ActiveSheet
    >> myForm.Show False
    >> vSheet.Select
    >>
    >> or
    >>
    >> vSheet.Activate
    >>
    >> Thanks
    >> Jos Vens
    >>
    >>
    >>

    >
    >




  4. #4
    Norman Jones
    Guest

    Re: Modeless window

    Hi Jos,

    Thanks for the feedback and apologies for mis-spelling your name!

    ---
    Regards,
    Norman



    "Jos Vens" <[email protected]> wrote in message
    news:%[email protected]...
    > Terrific! It works!
    >
    > Thanks a lot
    > Jos




+ 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