• Need a little macro help (Word 2000)

    Author
    Topic
    #425509

    Our office recently began using the WordAssist program. Unfortunately, WordAssist has reassigned some native Word shortcut keys to its own functions, which is pretty annoying. I’ve complained about it, but so far no change.

    It occurred to me that if I removed the new WordAssist assignment of a shortcut key, maybe the native Word function would re-appear. It didn’t, which puzzles me. (The WordAssist assignment is removed, but the shortcut just ends up doing nothing.)

    One of the shortcuts WordAssist has hijacked is Alt-Shift-X, which opens the “Mark Index Entry” dialog box. I tried recording the keystrokes to open that dialog box (Insert > Index and Tables [Index tab], click “Mark Entry” button), but that doesn’t work because whatever word(s) you select (before you open the dialog box) become part of the macro.

    I don’t know enough about VBA to write the code myself. What I want is to be able to select a word or words, then run the macro, which opens the dialog with the selected text appearing in its Main Entry window (i.e., the same thing that Alt-Shift-X allows you to do). Can someone show me how to write this macro?

    Viewing 0 reply threads
    Author
    Replies
    • #980537

      First try this:
      – Select Tools | Customize…
      – Click Keyboard…
      – Select Insert in the list of categories.
      – Select MarkIndexEntry in the list of commands.
      – Click in the box labeled Press new shortcut key.
      – Press Alt+Shift+X.
      – Click Assign, then click Close until you’re back in Word.

      If that doesn’t work, create a macro in your Normal.dot

      Sub MyMark()
      Dialogs(wdDialogMarkIndexEntry).Show
      End Sub

      and assign it to a keyboard shortcut.

      • #980538

        Thanks, Hans. I had forgotten about using Customize to get the shortcut back.

        Works great! I appreciate the quick response.

        Russ

    Viewing 0 reply threads
    Reply To: Need a little macro help (Word 2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: