Results 1 to 4 of 4
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Denmark
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts

    F9 keypress down event (W2K / O2K UK pro)

    Hi,

    Most likely a simple question...

    Would anyone know how to catch the F9 keypress (update of linked items)
    Following the update I would like to do some additional verification to the object, but I don't know how to catch the F9 keypress down event.
    Bests,
    RD


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

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

    Re: F9 keypress down event (W2K / O2K UK pro)

    The internal command executed by F9 is called UpdateFields. By creating a macro named UpdateFields you can intercept this command. Example:

    Sub UpdateFields()
    If MsgBox("Do you really really want to update fields?", vbQuestion + vbYesNo) = vbYes Then
    ActiveDocument.Fields.Update
    Else
    Beep
    End If
    End Sub

  3. #3
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Denmark
    Posts
    347
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: F9 keypress down event (W2K / O2K UK pro)

    Thanks a lot Hans.

    Just noted that I forgot to mention that this is in word - does it make any difference ??
    Bests,
    RD


    PS: Wish there were a knob on the TV to turn up the intelligence. There's a knob called "brightness," but that doesn't work

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

    Re: F9 keypress down event (W2K / O2K UK pro)

    I had assumed that W2K stood for Word 2000. My reply was meant for Word.

Posting Permissions

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