Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    L.A., California, USA
    Posts
    267
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Need a little macro help (Word 2000)

    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?

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Need a little macro help (Word 2000)

    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.

  3. #3
    3 Star Lounger
    Join Date
    Nov 2001
    Location
    L.A., California, USA
    Posts
    267
    Thanks
    7
    Thanked 0 Times in 0 Posts

    Re: Need a little macro help (Word 2000)

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

    Works great! I appreciate the quick response.

    Russ

Posting Permissions

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