Thread
: [Solved]
Calling Sub Routine for Formatting recently Created Word Document
View Single Post
03-29-2016, 02:36 AM
gmaxey
Windows 7 32bit
Office 2010 (Version 14.0)
Expert
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,601
Refined well Paul and Graham.
As a alternate to defining the parameter oDoc and passing wdDoc, you may be able to declare wdDoc at the module level and simply replace ActiveDocument (in my case) or oDoc (in Graham') with wdDoc.
__________________
Greg Maxey
Please visit my web site at
http://www.gregmaxey.com/
gmaxey
View Public Profile
Find all posts by gmaxey