Results 1 to 3 of 3
  1. #1
    5 Star Lounger st3333ve's Avatar
    Join Date
    May 2003
    Los Angeles, California, USA
    Thanked 2 Times in 2 Posts

    Replicating WordPerfect's pauses (Word 2002 SP-2)

    WordPerfect's macro language includes a Pause command that pauses the macro (often within a loop) and resumes execution when the user hits a particular key (or key-combination). So, to take a simple example, you can create a looping macro that allows the user to move through a long list and create a 2nd list with only selected items from the original list by hitting Ctrl-Enter while the cursor is located on each item to be copied to the 2nd list. There's no dialog box involved.

    I don't think I can exactly replicate this in Word, but I'd like to find the best alternative. One possibility (that I haven't yet tried) might be a VBA macro that (1) assigns a 2nd macro (that actually performs the relevant copy or whatever) to Ctrl-Enter, (2) puts a small modeless UserForm in one corner of the screen with nothing but a Cancel button, and (3) returns the Ctrl-Enter key to its original assignment after the user cancels the UserForm.

    I'd be interested in hearing how other Loungers have handled this kind of situation.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts

    Re: Replicating WordPerfect's pauses (Word 2002 SP

    Non-modal UserForm and Toolbar are the only things that come to mind.

  3. #3
    Super Moderator
    Join Date
    Jan 2001
    Melbourne, Victoria, Australia
    Thanked 295 Times in 267 Posts

    Re: Replicating WordPerfect's pauses (Word 2002 SP-2)

    Hmm - that sounds like good functionality but I can't think of a similar method in Word.

    Two things come to mind to perform the task you described.
    1. Use the Spike to store incremental text. Spike is a built-in autotext entry that can grow every time you append to spike and is emptied when used.
    2. Select multiple lines at once to copy with discontinuous selections
    Andrew Lockton, Chrysalis Design, Melbourne Australia

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts