Graham, I used your method to white out the headers on a Word 2003 doc and it worked perfectly. However, I now have another document I need to use it on and I'm running into a problem. This new document was created for us by a third party. It was created in Word 2010. We have 2003 so it was converted when opened and then I saved it as a 2003 document and tried to copy and paste the macro into the new document.
When I open the document, I get the normal "enable macro" popup. When I run the macro, it works but only up to the point where it whites out the header. After whiting out the header, it errors out with the message:
Run-time error '-2147024891 (80070005)':
This member can only be accessed for a picture or an OLE object.
Debug brings me to this line:
oRng.ShapeRange(i).PictureFormat.Brightness = 1#
The header only contains one JPG graphic, which is how the first document I used this on is also set up.
Do you have any suggestions? Does this have anything to do with the fact that it was created in a later Word version?
Any light you can shed would be appreciated! Thanks!
Lynette