Consulting

Results 1 to 20 of 37

Thread: number pad key id?

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #11
    VBAX Expert mperrah's Avatar
    Joined
    Mar 2005
    Posts
    744
    Location
    maybe add an if statement to the action_... sub

    Sub action_p() 
        If Selection.Count > 1 Then Exit Sub 
          if selection.value = "{100}"
        Call insert_letter("pnum") 
          elseif selection.value = "4"
        Call insert_letter("ptop") 
    End Sub
    Then change the vletter call to match?
    Last edited by Aussiebear; 04-14-2023 at 02:43 AM. Reason: Adjusted the code tags

Posting Permissions

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