Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Tue, 3 Jan 2006 21:46:02 -0800,    group: microsoft.public.word.vba.customization        back       


Binding keys to external functions   
Is it possible to create a keyboard shortcut that will call a function in an 
external library?  What I'd like to do is add a reference in a template to a 
DLL that I've created, then have a method in this DLL called when the user 
presses a certain key combo (e.g. Ctrl - j).  I've been able to bind key 
combos to functions local to the template, but not to ones in the DLL.
date: Tue, 3 Jan 2006 21:46:02 -0800   author:   AlanC

Re: Binding keys to external functions   
Hi Alan,

>Is it possible to create a keyboard shortcut that will call a function in an 
>external library?  What I'd like to do is add a reference in a template to a 
>DLL that I've created, then have a method in this DLL called when the user 
>presses a certain key combo (e.g. Ctrl - j).  I've been able to bind key 
>combos to functions local to the template, but not to ones in the DLL.

how about a shortcut to a macro, which calls whatever you like?

-- 
Greetings from Bavaria, Germany

Helmut Weber, MVP WordVBA

Win XP, Office 2003
"red.sys" & Chr$(64) & "t-online.de"
date: Wed, 04 Jan 2006 11:58:11 +0100   author:   Helmut Weber

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us