![]() |
#1
|
|||
|
|||
![]()
Hey all!
I produce my Word documents with a program called Author-it. It compiles many small topics into a large Word file. I need to figure out how to write a field that will recognize what Chapter it is in, and then insert an autotext/graphic in a specific location. My chapters have designated letters. A page in chapter 1 might look like "A.4." Is there a way to have a field (maybe "IF") recognize a letter in the header (page number) and then apply a corresponding autotext? That autotext would place the graphic in the proper location. The goal is to have different color bars appear in the headings of specific chapters. If the chapter is an "A" chapter, the bar would be red, and so on. I'm new to the use of fields, but I think this is the right place to start. I'd greatly appreciate any wisdom you can offer! -Matthew |
#2
|
|||
|
|||
![]()
I tried some "trial and error" work, and I may be onto something.
When working with "IF" fields, I tried typing "{IF {SECTION}=10 "This Works" "This does not work"}" This field was in section 10, so it typed out "This Works." I was so happy with that result! Now, I just need to figure out how to substitute that "True" text with an Auto Text function. Since I could use the "{SECTION}" field in the operator, I would imagine this is possible, but I can't find the right method of entering it! ![]() |
#3
|
||||
|
||||
![]()
Hi gottmat,
You could use a field coded along the lines of: {IF{SECTION}= 10 {AUTOTEXT "MyAutotext"}} or perhaps even: {AUTOTEXT "SectionAutotext{SECTION}"} Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
jafrapatty | Office | 3 | 01-30-2011 01:11 AM |
AutoText Updates | Ludovico | Word | 0 | 07-11-2010 06:10 AM |
Autotext screen tip doesn't appear | Steve_D | Word | 0 | 05-11-2010 07:14 PM |
AutoText question | harbor11 | Word | 0 | 12-16-2009 09:42 AM |
![]() |
3billy3 | Word | 1 | 10-24-2009 06:02 AM |