Re: Creating a visible field with a hidden component?
- From: "Charles Kenyon" <wordfaq@xxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 8 Feb 2006 13:20:42 -0600
The easiest way to insert nested fields is to create them manually rather
than through code and then save them as AutoText. To insert the field using
code, you then insert the AutoText entry.
--
Charles Kenyon
Word New User FAQ & Web Directory: http://addbalance.com/word
Intermediate User's Guide to Microsoft Word (supplemented version of
Microsoft's Legal Users' Guide) http://addbalance.com/usersguide
See also the MVP FAQ: http://word.mvps.org/FAQs/ which is awesome!
--------- --------- --------- --------- --------- ---------
This message is posted to a newsgroup. Please post replies
and questions to the newsgroup so that others can learn
from my ignorance and your wisdom.
"ML" <schooner@xxxxxxxxxxxxx> wrote in message
news:ueC2CmNLGHA.3396@xxxxxxxxxxxxxxxxxxxxxxx
I need to create a field that will be inserted via VBA code. This will be
made up of nested fields. The outer field will use a Quote field with a
visible text element that will show in the document. Along with this is a
nested field which contains tags that I will parse for with another macro.
The issue is I need to make the second nested field not visible and also
easily parsable in code. I'm thinking of storing a delimited string in
this field to contain the various elements need later.
The only way I can think to do this is using the SEQ field with the \h.
Is this the only/best approach?
Here is what I want or similar:
{ QUOTE (CAUKEO) { SEQ AA-BB-CCCC \h } }
So later on I want to parse out the SEQ field associated with the QUOTE
and based on what it contains (i.e. does it include AA then..) do
something in the macro.
Any thoughts or insight on this approach?
.
- Follow-Ups:
- References:
- Prev by Date: temporary font install
- Next by Date: Re: Creating a visible field with a hidden component?
- Previous by thread: Creating a visible field with a hidden component?
- Next by thread: Re: Creating a visible field with a hidden component?
- Index(es):
Relevant Pages
|
Loading