Auto-update field codes in Outlook Template - AutoOpen Macro not working
Hi All,
A complete VBA newbie here.
I’m want to auto update field codes in an Outlook Template.
I’ve tried writing a macro with Auto_Open(), AutoOpen(), and Workbook_Open functions, but no luck. I have my settings on outlook to allow any macro.
I added a new module that says:
Sub Auto_Open()
ActiveDocument.Fields.Update
End Sub
I also tried putting the code in “this outlook session”.
The macro runs properly when I click on it, but does not auto run.
Thanks!
|