View Single Post
 
Old 07-17-2017, 03:57 AM
gmaxey gmaxey is offline Windows 7 32bit Office 2016
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

Stephen,

You didn't say that you were getting an error. The reason for the error is that I threw that code together in the ThisDocument module of the project which doesn't care about ActiveDocument (because it is the activedocuement). In a standard module modified as Graham advises will also work.
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote