+ Reply to Thread
Results 1 to 2 of 2

Userform1-Can I override the need to click on the form?

  1. #1
    sbweid
    Guest

    Userform1-Can I override the need to click on the form?

    I have a long running macro and would like to display some variables to see
    where I am in the processing. When I show the Userform that I created for
    this purpose, I am force to click on it to keep the macro going. Is there
    any way to avoid the click and just show the userform throughout the process?

    Thanks!
    --
    sbw

  2. #2
    sebastienm
    Guest

    RE: Userform1-Can I override the need to click on the form?

    Hi
    you could either
    - show the form in modeless mode:
    frmMyForm.Show vbModeless
    - or run the macro from the form: The form shows "This macro may take
    several second. Continue?" if yes command button... run the macro and display
    the % in a label.:
    Sub cmdOk_Click
    'run macro if not already running
    End Sub

    Regards,
    Sebastienm

    "sbweid" wrote:

    > I have a long running macro and would like to display some variables to see
    > where I am in the processing. When I show the Userform that I created for
    > this purpose, I am force to click on it to keep the macro going. Is there
    > any way to avoid the click and just show the userform throughout the process?
    >
    > Thanks!
    > --
    > sbw


+ 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