Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2013, 10:05 AM
mykeee mykeee is offline Add watermark to multiple word docs Windows 7 32bit Add watermark to multiple word docs Office 2003
Novice
Add watermark to multiple word docs
 
Join Date: Sep 2013
Posts: 1
mykeee is on a distinguished road
Exclamation Add watermark to multiple word docs


I have about a hundred word documents that I need to watermark with the word "OBSOLETE". Is there some way I can do this to all the documents at once rather than opening each one separately and adding the watermark?
Reply With Quote
  #2  
Old 09-21-2013, 04:01 PM
fumei fumei is offline Add watermark to multiple word docs Windows 7 64bit Add watermark to multiple word docs Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

No, you can not do this to all of them "at once". You WILL have to open each one separately. There is no other way to action each document.

That being said, you CAN use VBA to action each document unattended. Use the DIR function. Here is how. Note all the documents must be in the given folder the DIR is pointing to. - in the example below this is C:Yadda\Blah.

First write, or record, the code to insert the watermark. Name it something like AddWatermark.

Then use something like this.
Code:
Sub BunchOfWatermarks()
Dim MyFile
Dim myPath As String
myPath = "C:Yadda\Blah\"
MyFile = Dir(myPath & "*.doc")
Do While MyFile <> ""
   Documents.Open MyFile
   Call AddWatermark
   ActiveDocument.Save
   ActiveDocument.Close
   MyFile = Dir()
Loop
End Sub

All files in the C:Yadda\Blah folder will be opened, the code for AddWatermark executed (thus inserting the watermak), saved and closed, and then the next file processed.
Reply With Quote
Reply

Tags
macro, watermark, word 2003



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add watermark to multiple word docs Sequential numbering across multiple docs mslearner Word 18 06-12-2019 04:00 AM
Add watermark to multiple word docs Sequential Page Numbering of Multiple Word Docs bobmard Word 8 08-24-2011 08:51 AM
Add watermark to multiple word docs Editing multiple docs frankdh Word 2 11-02-2010 10:59 AM
Printing multiple page worksheet with watermark zany Excel 2 11-27-2009 01:33 AM
Amend footer in multiple word docs? compact Word 2 02-24-2009 09:40 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:12 AM.


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