Consulting

Results 1 to 3 of 3

Thread: From AutoHotkey to VBA - text shortcuts

  1. #1
    VBAX Newbie
    Joined
    May 2015
    Posts
    2
    Location

    From AutoHotkey to VBA - text shortcuts

    Is there any solution to this problem:

    At my work there are some users, that have installed AutoHotkey and have used a lot of time to build a list of short cuts to write text in Word.
    However the company will not allow the users to install AHK in the new computers. Is there a way to put those scripts in to Visual Basic?
    It need to work like this:

    If I write the “shortcut” hhay in Word the script will complete the text with the text I have wrote in the script: hi how are you
    Is this possible? Is there any solution to this problem:


    Thanks in advance
    Last edited by eiol; 05-09-2015 at 06:29 AM.

  2. #2
    Microsoft Word MVP 2003-2009 VBAX Guru gmaxey's Avatar
    Joined
    Sep 2005
    Posts
    3,335
    Location
    No, but Word's AutoCorrect feature could be used for this purpose in most cases. Typically AutoCorrect is used to automatically correct typos e.g., wheere is autocorrect as you type to where.

    If you define hhay as an autocorrect entry with the correction being hi how are you then it would work sort of like AHK.
    Greg

    Visit my website: http://gregmaxey.com

  3. #3
    VBAX Newbie
    Joined
    May 2015
    Posts
    2
    Location
    Thanks.

    Eiol

Tags for this Thread

Posting Permissions

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