Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Sep 2002
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Umlauts once again (Word XP - no SR)

    Read the thread from last week with interest - the solution from Phil Rabichow is a beaut. However, it works sort-of. Some of the key seqs don't work, but that could be due to us using a Danish version of MSO.

    A colleague has encountered a problem which gives him - and his little helpers - grey hair.
    On the keyboard, next to the special Danish character

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Umlauts once again (Word XP - no SR)

    Is this feature specific to MS Word? Does that key do anything (e.g., invoke a different command) on the problem computer? You might try the procedure described in <!post=Post #101639,101639>Post #101639<!/post> to clear any inadvertent assignment of that key to some other action. If this key can't be entered into the Customize Keyboard dialog, you could try this:

    <pre>Sub ClearKeyBinding()
    ' Hardcoded to clear keybinding for the letter A (unshifted)
    Dim kb As KeyBinding
    ' Set context as desired
    CustomizationContext = NormalTemplate
    ' Create object reference to keycode (works with or without
    ' an existing key binding for the command key)
    Set kb = FindKey(BuildKeyCode(wdKeyA))
    If kb.KeyCategory = wdKeyCategoryNil Then
    MsgBox "No such key assignment; no action taken"
    Else
    kb.Clear
    MsgBox "Key assignment cleared"
    End If
    Set kb = Nothing
    End Sub</pre>

    (It would be more helpful if I knew the name of the magic key, but you probably will have to discover it by combing the wdKey list in the VBE's Object Browser.)

    If none of that helps, and the feature is part of the Office suite or the Danish version of Windows, is the problem occuring in (1) other Office applications, and/or (2) other Windows programs?

  3. #3
    New Lounger
    Join Date
    Sep 2002
    Posts
    22
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Umlauts once again (Word XP - no SR)

    Hi, and thank you for taking your time to get on to our problem.
    I will go and check the pc in question tomorrow - our local time, and return with a reply to your questions, as well as I will try and run your suggested macro (looks like a beaut).
    Have actually tried to find the key def in the wdKey section, but it is good at hiding in there somewhere. So digging that @#$!% out will be the homework for tomorrow night.
    /hougs

  4. #4
    5 Star Lounger
    Join Date
    May 2001
    Location
    Stuttgart, Baden-W, Germany
    Posts
    931
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Umlauts once again (Word XP - no SR)

    Seems most likely that the keyboard layout in the Windows "Control Panel > Keyboard" doesn't match the physical keyboard.

    At least in Win98, the Control Panel dialog hides the fact that there are two different settings that you can choose independently: the keyboard language (say, Danish) and the keyboard layout.
    Usually Windows makes a smart guess for the layout when you choose the language, but if the two got out of synch somehow, it's very confusing.
    You may have to double-click on the entry, or click on "Properties...", to get a list of keyboard *layouts* to choose from.

    <img src=/S/cheers.gif border=0 alt=cheers width=30 height=16> Klaus

Posting Permissions

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