Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
I have create macro command at work place. I use shortcut key (CTRL+M) to
perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? to enable macro, I should set security to low? must? any other way, because worried about virus attack. TQ param |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
Hi param
Param wrote: I have create macro command at work place. I use shortcut key (CTRL+M) to perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? to enable macro, I should set security to low? must? any other way, because worried about virus attack. Set it to medium, so each time you open up a template or document containing VBA code, you are prompted whether you want to allow the code or not. OTOH, if it's your macro, you could use the Organizer (Tools | Templates and Add-Ins, Organizer | Macro) to copy the macro to your normal.dot, for instance. HTH Robert -- /"\ ASCII Ribbon Campaign | MS \ / | MVP X Against HTML | for / \ in e-mail & news | Word |
#3
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
I try, the command (task that i set) not working when i press CTRL+M. why?
"Robert M. Franz (RMF)" wrote: Hi param Param wrote: I have create macro command at work place. I use shortcut key (CTRL+M) to perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? to enable macro, I should set security to low? must? any other way, because worried about virus attack. Set it to medium, so each time you open up a template or document containing VBA code, you are prompted whether you want to allow the code or not. OTOH, if it's your macro, you could use the Organizer (Tools | Templates and Add-Ins, Organizer | Macro) to copy the macro to your normal.dot, for instance. HTH Robert -- /"\ ASCII Ribbon Campaign | MS \ / | MVP X Against HTML | for / \ in e-mail & news | Word |
#4
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
this are the command I used:
running by using keyboard (ctrl+M) -------------------------------------------------- Sub printreport() ' ' printreport Macro ' Macro recorded 4/1/2006 by param ' With ActiveDocument.MailMerge .Destination = wdSendToNewDocument .SuppressBlankLines = True With .DataSource .FirstRecord = wdDefaultFirstRecord .LastRecord = wdDefaultLastRecord End With .Execute Pause:=False End With End Sub ----------------------------------------------- "Param" wrote: I have create macro command at work place. I use shortcut key (CTRL+M) to perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? to enable macro, I should set security to low? must? any other way, because worried about virus attack. TQ param |
#5
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
Param wrote:
this are the command I used: running by using keyboard (ctrl+M) -------------------------------------------------- Sub printreport() ' ' printreport Macro ' Macro recorded 4/1/2006 by param ' With ActiveDocument.MailMerge .Destination = wdSendToNewDocument .SuppressBlankLines = True With .DataSource .FirstRecord = wdDefaultFirstRecord .LastRecord = wdDefaultLastRecord End With .Execute Pause:=False End With End Sub ----------------------------------------------- "Param" wrote: I have create macro command at work place. I use shortcut key (CTRL+M) to perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? Did you assign the keyboard shortcut on your home PC, too? Greetinx Robert -- /"\ ASCII Ribbon Campaign | MS \ / | MVP X Against HTML | for / \ in e-mail & news | Word |
#6
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Macro shortcut key & security
Did you save the shortcut into your doc file as well? The default save
location is normal.dot on your work computer. Security set to medium will be sufficient. When you open the document, you will be alerted to the presence of macros and given the chance to enable them (or not). -- Charles Kenyon Word New User FAQ & Web Directory: http://addbalance.com/word Intermediate User's Guide to Microsoft Word (supplemented version of Microsoft's Legal Users' Guide) http://addbalance.com/usersguide See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome! --------- --------- --------- --------- --------- --------- This message is posted to a newsgroup. Please post replies and questions to the newsgroup so that others can learn from my ignorance and your wisdom. "Param" wrote in message ... I have create macro command at work place. I use shortcut key (CTRL+M) to perform the task. Save it into the doc file. Problem: macro command not working when I press Ctrl+M at my home pc. But I check the macro, still inside the document. Why cannot run it, because keyboard? to enable macro, I should set security to low? must? any other way, because worried about virus attack. TQ param |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Macro Security ? | Microsoft Word Help | |||
Macro Security | Mailmerge | |||
Macro Security | Microsoft Word Help | |||
macro security will not stay set | Microsoft Word Help | |||
Save As is not working due to macro security settings | Microsoft Word Help |