Results 1 to 3 of 3
2010-11-22, 14:50 #1
Our doc management system keeps assigning ^K to its own macro in Word 2003. I use ^K for something else. I can edit the key assignment manually, but it doesn't seem to stick. Is there a method to remove the ^K assignment from this macro when Word starts? I tried recording a macro, but that didn't work because the commands recorded just killed ^K completely and not just for this macro.
2010-11-22, 15:22 #2
- Join Date
- Mar 2004
- Manning, South Carolina
- Thanked 1,457 Times in 1,326 Posts
Here's some code to assign a key to an existing macro.
With Application .MacroOptions _ macro:="'" & oPgms.Name & "'!NewFY", _ Description:="Create a file for the New Fiscal Year", _ ShortcutKey:="N" '*** This would be Ctrl+Shift+N *** End With 'Application
2010-11-27, 08:05 #3
Thanks for the code. After I posted the message I found something in the VBA help for Word that seems to work. It used the .DISABLE method of FindKey (I think), but I switched it to .CLEAR. When I used .DISABLE, ^K didn't work at all, but if i used .CLEAR, it it just unassigned.