Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / July 2007

Tip: Looking for answers? Try searching our database.

Create Shortcut key by Add-In

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
thirith - 24 Jul 2007 09:32 GMT
hi there,

I am doing some add-in program by using the VB.net for coding.
I tries to find the technique for creating shortcut in ms Word 2007. For
example when user press "CTRL+ALT+T", I want to replace with the text
"Technical Problem." into the active document at the cursor point.

Please help me!

thirith.
Doug Robbins - Word MVP - 24 Jul 2007 20:37 GMT
I don't know about VB.Net, but using VBA, you would just use:

Selection.InsertBefore "Technical Problem"

in a macro that you assigned to that shortcut.

However,  I would just create an AutoCorrect entry that replaced tp with
Technical Problem.  That would be much easier to use than to use Ctrl+Alt+T

To create AutoCorrect entries in Word 2007, you click on AutoCorrect on the
Proofing dialog that is displayed when you click on Proofing in the left
pane after clicking on Word Options in the bottom border of the dialog that
appears when you click on the pizza button.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> hi there,
>
[quoted text clipped - 6 lines]
>
> thirith.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.