Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-21-2015, 04:35 AM
victoriasun victoriasun is offline Auto-update field codes in Outlook Template - AutoOpen Macro not working Windows 7 64bit Auto-update field codes in Outlook Template - AutoOpen Macro not working Office 2007
Novice
Auto-update field codes in Outlook Template - AutoOpen Macro not working
 
Join Date: Dec 2015
Posts: 4
victoriasun is on a distinguished road
Default 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!
Reply With Quote
 

Tags
auto update, macro, outlook template



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA script to update field codes? Calab Word VBA 1 04-07-2014 09:27 PM
Auto Update Fields Macro kveldulv Outlook 0 06-07-2013 02:30 PM
Auto-update field codes in Outlook Template - AutoOpen Macro not working Macro to update ole links not working kisa500 PowerPoint 7 02-05-2013 03:52 AM
Auto-update field codes in Outlook Template - AutoOpen Macro not working Auto update Filename field Oliver Beirne Word VBA 4 10-19-2012 03:33 AM
Table of Contents - Direct Field Implementation - Auto-Update Numbering ztag Word 3 01-19-2012 03:04 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:28 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft