Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default How to print out custom properties only?


You can do so with a macro

Sub PrintCustomProperties()
Dim oProperty As DocumentProperty
Dim oDoc As Document
Dim PropDoc As Document
Dim oRng As Range
Set oDoc = ActiveDocument
Set PropDoc = Documents.Add
PropDoc.Range.ParagraphFormat.TabStops.Add InchesToPoints(2)
For Each oProperty In oDoc.CustomDocumentProperties
Set oRng = PropDoc.Range
oRng.Collapse wdCollapseEnd
oRng.Text = oProperty.Name & vbTab & oProperty.Value & vbCr
Next oProperty
PropDoc.PrintOut
PropDoc.Close
End Sub

http://www.gmayor.com/installing_macro.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"GG" wrote in message
...
I want to print out all the fields in custom properties as a page. Is there
a
way?
Thanks, GG



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
custom properties Jim Microsoft Word Help 2 February 5th 10 08:22 PM
Document Properties Custom Tab Mkate Microsoft Word Help 3 January 20th 07 01:23 PM
Copy custom properties? Not Really Me Microsoft Word Help 2 March 14th 06 04:40 PM
custom properties Arlan Tables 2 June 19th 05 03:47 AM
Custom Properties Andy Microsoft Word Help 3 March 16th 05 08:38 AM


All times are GMT +1. The time now is 07:45 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"