+ Reply to Thread
Results 1 to 3 of 3

Pausing a Running Macro

Hybrid View

  1. #1
    Registered User
    Join Date
    05-28-2008
    Posts
    49

    Pausing a Running Macro

    Macro Step 1: I have a macro that prompts the user to input requested data into a dialogue box.

    Macro Step 2: The macro then takes the data and places it in specific cells.

    Macro Step 3: Depending on the responses in step 1, the macro may prompt the user to input more requested data into a dialogue box.

    Macro Step 4: If more data is prompted in step 3, the macro takes the additional data and places it in specific cells.

    Question: Is there a way to write excel macro syntax code that interrupts the running of the macro (let's say after step 2) to alllow the user to view the cells were the macro placed the data. The macro would then ask if the user approves of the cell input. If user does not approve, the macro would interrupt itself and allow the user to make modifications to the cells. After the user makes any modifications, the user can resume the macro at the point in the macro where it was interrupted.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: Pausing a Running Macro

    I only took care of the PAUSE. Step 3 needs to be done still, but is this what you like?

    Press Macro mode and you'll see what I mean.

    You are either in Change mode, or Macro Mode.

    It's not subtle, but just give me some pointers ...
    Attached Files Attached Files
    Looking for great solutions but hate waiting?
    Seach this Forum through Google

    www.Google.com
    (e.g. +multiple +IF site:excelforum.com/excel-general/ )

    www.Google.com
    (e.g. +fill +combobox site:excelforum.com/excel-programming/ )

    Ave,
    Ricardo

  3. #3
    Valued Forum Contributor
    Join Date
    07-21-2008
    Location
    London, UK
    Posts
    326

    Re: Pausing a Running Macro

    Once the input box is in run time, code stops --

    Where are you with this now?

+ 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