Reply
 
Thread Tools Display Modes
  #1   Report Post  
 
Posts: n/a
Default Custom Fields in Word 2002 (XP)

Hi all,

I've read threads indicating that Word 2000 didn't have any support for
custom fields that could be manipulated under program control, with
developers urged to utilize bookmarked ranges instead. By custom
fields I mean fields whose content would be maintained solely through
VBA or an automating application, but that would still have the user
interface benefits of fields, such as the option to highlight and/or
display codes. I've looked through the field type enumerations and
haven't seen any that cry out for this sort of usage.

My question is whether this situation has changed during MS's upgrade
to Word 2002 (XP), and in fact whether my original understanding that
such custom fields don't exist is in fact true. My own books on Word
automation stop at Word 2000, though I understand a new book covering
the automation of xml features introduced after Word 2000 is due out
later this month. At this time, my interest is limited to Word 2002,
as (BON) my clients won't be supporting Word 2003 for another couple of
years...

Thanks in Advance,
D McBride

  #2   Report Post  
Jezebel
 
Posts: n/a
Default

You must have misunderstood the threads, or the writers knew not of what
they wrote. Word 2000 - like W97 before it and all versions since - does
have custom fields that can be manipulated by code (and which are indeed
preferable to bookmarks for almost all programmatic purposes). You can use
CustomDocumentProperties, which can also be modified by the user through the
Custom tab on File Properties; and you can use DocVariables which can be
added and modified only through VBA.

In both cases you can display the values in the document, using DocProperty
and DocVariable fields respectively.


wrote in message
oups.com...
Hi all,

I've read threads indicating that Word 2000 didn't have any support for
custom fields that could be manipulated under program control, with
developers urged to utilize bookmarked ranges instead. By custom
fields I mean fields whose content would be maintained solely through
VBA or an automating application, but that would still have the user
interface benefits of fields, such as the option to highlight and/or
display codes. I've looked through the field type enumerations and
haven't seen any that cry out for this sort of usage.

My question is whether this situation has changed during MS's upgrade
to Word 2002 (XP), and in fact whether my original understanding that
such custom fields don't exist is in fact true. My own books on Word
automation stop at Word 2000, though I understand a new book covering
the automation of xml features introduced after Word 2000 is due out
later this month. At this time, my interest is limited to Word 2002,
as (BON) my clients won't be supporting Word 2003 for another couple of
years...

Thanks in Advance,
D McBride



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
Word 2002 installation problems LongTimeAlaskan Microsoft Word Help 1 January 14th 05 03:06 PM
word xp crashes after macros are recorded kharris0405 Microsoft Word Help 3 January 11th 05 10:50 PM
Continuous breaks convert to next page breaks Jennifer Hunt Microsoft Word Help 2 December 30th 04 05:45 PM
macro in word js Microsoft Word Help 1 December 28th 04 03:01 AM
Word 2002 inserts colored background but shows white in artwork Tom in Brown Deer Microsoft Word Help 0 December 16th 04 05:09 AM


All times are GMT +1. The time now is 03:08 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"