Results 1 to 2 of 2
  1. #1
    3 Star Lounger rcbjr2's Avatar
    Join Date
    Jan 2001
    Matthews, NC
    Thanked 1 Time in 1 Post
    I have a .DOT file that sets WordStar keystrokes for Word. Our office has a new doc management system that uses ^K for one of its macros. If I unassign ^K from this macro, my macros work fine (e.g. ^KD to close a doc). However, the ^K kept being reassigned to the doc management system macro, so I recorded a macro that I thought would remove the ^K assignment. However, it seems to have killed ^K across the board and I can't figure out how to get ^K to work at all now in Word. Here is the code:

    Sub TurnOffHumCtrlK()
    CustomizationContext = NormalTemplate
    FindKey(BuildKeyCode(wdKeyK, wdKeyControl)).Disable
    End Sub

    I've tried using other arguments instead of Disable (e.g., Enable), but that doesn't seem to work (I just get an error).

    Any suggestions on how to re-enable ^K?



    P.S. I posted this in the wrong thread. I meant to put it in a Word thread. However, not sure how to move it now or I would. ;-)

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Silicon Valley, USA
    Thanked 94 Times in 90 Posts
    Please continue discussion here: [topic=779991]Macro to Unassign Keyboard Assignment[/topic].

Posting Permissions

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