Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

printing document properties

Status
Not open for further replies.

cramd

Programmer
Mar 28, 2001
214
US
I have a folder with 500+ documents. I need to print a document that includes the subject from each document property. The following code gives me the document contents, not the subject property as needed: "Application.PrintOut wdPropertySubject"
Any thoughts would be appreciated!
Diane
 
Are you trying to compose a new document with the properties of all of the existing documents? In that case, you'd need to open the existing documents one by one, while putting the information into the new document using

selection.typetext
selection.typeparagraph

After completing the new document, print it using activedocument.printout.
Am I correctly interpreting what you need to do?
Rob
[flowerface]
 
Rob,
You interpreted my message correctly--and yes I see where you are going with this. I wasn't thinking clearly on this at all; I was working with the thought of directly printing the wdPropertySubject w/o printing it on a new document first.......
Thanks for the tip, I can't test it for a couple of days, but I'm sure this is what I was needing!!
Diane
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top