Modify Field Results

M

Mickey

Hi,
I'm trying unsuccessfully to create/write a macro that will modify a Custom
Document Property located in the header of a document. The name of the
Custom Document Property is "Effective Date" and the Value is a date. I want
to replace whatever the date is with "03/01/06". I'm using Word 2000.

Any ideas?

Thanks,
Mickey
 
J

Jezebel

MyDoc.CustomDocumentProperties("EffectiveDate") = "03/01/06"
MyDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Fields.Update
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top