Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2006

Tip: Looking for answers? Try searching our database.

Modify Field Results

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mickey - 23 Feb 2006 20:08 GMT
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
Jezebel - 23 Feb 2006 20:48 GMT
MyDoc.CustomDocumentProperties("EffectiveDate") = "03/01/06"
MyDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Fields.Update

> Hi,
> I'm trying unsuccessfully to create/write a macro that will modify a
[quoted text clipped - 8 lines]
> Thanks,
> Mickey
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.