?
Solved

VBA UserForm Help HOTKEYS

Posted on 2005-03-01
2
Medium Priority
?
430 Views
Last Modified: 2008-01-16
Hey Experts,

I'm working with MS Word.  I was just wondering how to make my userform popup when i use HotKeys, for instance Ctrl+Alt+F

Any help would be great.
0
Comment
Question by:Jason_Kha
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 10

Accepted Solution

by:
edwardiii earned 1200 total points
ID: 13434191
Hi, Jason Kha.

If the format CTRL-SHIFT-F is acceptable, you could do the following:

Create a macro (Tools, Macro, Record New Macro). In the Record Macro dialog box, name your macro and in the Shortcut key field enter "F" while you hold down the SHIFT key.  Hit Ok, then stop recording the macro.  Edit the macro (Tools/Macro/Macros, select your macro, then click the Edit button).  Erase the contents of the macro and replace with Userform.show--enter the name of your form instead of "Userform".  From then on, whenever someone presses CTRL-SHIFT-F, your userform will appear. The options are limited with MS Office 2000 for Windows apps, but with MS Office for Mac, there is an option (in the Record Macro dialog) to "Assign macro to Keyboard" that offers a much greater selection of key combinations. Maybe later versions of Office for Windows do also...
0
 
LVL 28

Assisted Solution

by:AzraSound
AzraSound earned 800 total points
ID: 13435061
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month15 days, 7 hours left to enroll

741 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question