Group:  Microsoft Word ยป microsoft.public.word.vba.beginners
Thread: Modify Field Results

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

Modify Field Results
Mickey 23.02.2006 20:08:27
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
Re: Modify Field Results
"Jezebel" <warcrimes[ at ]whitehouse.gov> 23.02.2006 20:48:12
MyDoc.CustomDocumentProperties("EffectiveDate") = "03/01/06"
MyDoc.Sections(1).Headers(wdHeaderFooterPrimary).Range.Fields.Update



"Mickey" <Mickey[ at ]discussions.microsoft.com> wrote in message
news:BF56C38C-2B06-435B-B576-9C0DFEF20E51[ at ]microsoft.com...
[Quoted Text]
> 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


Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net