J
Jonas
I'm using Word 2000, Win2000.
I have made several templates with macros using the Record Macro
function. Now I want to copy all the macros from one template to the
others. I have named my set of macros IngeborgsMakro instead of
NewMacros.
I've tried to copy by going to Tools - Macro - Macros - Assistent (?
Norw. name, do not know the English name, maybe Oraganizer?) It works.
When I copy IngeborgsMakro form one template ot another and opens the
second template, alle the macros are there. BUT the shortcut keys do
not work!
I have assigned shortcut keys by going to Tools - Customise - Keyboard
- Macros but it seems like these are not stores in IngeborgsMakro and
hence are not copied.
I would like to copy all the macros AND their shortcuts and not having
to assign the shortcut keys in every template. Is there a way to do
this? Is it possible to write a code within the macro in VBA that
tells the shortcut key of that macro?
One of my macros could look like this:
Sub anførselstegn()
'
' anførselstegn Makro
' Makro registrert 13.06.2003 av Ingeborg Altern Vedal
'
Selection.TypeText Text:="«» "
Selection.MoveLeft Unit:=wdCharacter, Count:=2
VBA-CODE THAT SAYS CONTROL+< WILL RUN THIS MACRO.
End Sub
I hope someone may help me!
I have made several templates with macros using the Record Macro
function. Now I want to copy all the macros from one template to the
others. I have named my set of macros IngeborgsMakro instead of
NewMacros.
I've tried to copy by going to Tools - Macro - Macros - Assistent (?
Norw. name, do not know the English name, maybe Oraganizer?) It works.
When I copy IngeborgsMakro form one template ot another and opens the
second template, alle the macros are there. BUT the shortcut keys do
not work!
I have assigned shortcut keys by going to Tools - Customise - Keyboard
- Macros but it seems like these are not stores in IngeborgsMakro and
hence are not copied.
I would like to copy all the macros AND their shortcuts and not having
to assign the shortcut keys in every template. Is there a way to do
this? Is it possible to write a code within the macro in VBA that
tells the shortcut key of that macro?
One of my macros could look like this:
Sub anførselstegn()
'
' anførselstegn Makro
' Makro registrert 13.06.2003 av Ingeborg Altern Vedal
'
Selection.TypeText Text:="«» "
Selection.MoveLeft Unit:=wdCharacter, Count:=2
VBA-CODE THAT SAYS CONTROL+< WILL RUN THIS MACRO.
End Sub
I hope someone may help me!