Link to home
Start Free TrialLog in
Avatar of narmi2
narmi2

asked on

reading custom properties into document?

hi

in microsoft word if you click on file>properties>custom, we can add custom properties and values for those properties.  is it possible to somehow read 1 or more of these custom properties into the main document?

thanks
Avatar of GrahamSkan
GrahamSkan
Flag of United Kingdom of Great Britain and Northern Ireland image

I think this will need a macro with a line like this:

ActiveDocument.Bookmarks("mybookmark").range.text = Activedocument.CustomDocumentProperties("Product Name").Value
Avatar of narmi2
narmi2

ASKER

Thanks for the code but I just figured out how to do this without a macro.

insert>field>document information>docproperty>options

and then choose from the list of custom properties

e.g. Checked By
finally click add to field>ok>ok

done.
Well done. Ask for a points refund in the Community support area.
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial