IF statement in repeating header row?

E

Ed

The convention I need to use for long tables that cover more than one page
is: Table Title on first page of table, Table Title (continued) on middle
page(s), and Table Title (concluded) on the last page of the table. I asked
a question on this some time back, and got an answer which was useful. But
I had a "storming brain", and thought I'd throw this out for target
practice.

I'm wondering if I can put an IF statement based on Page No. XX of Total
Section Pages in a row I could repeat as a header row, something like:
IF Page No. = 1, THEN "";
ELSE IF Page No. < Tot. Sec. Pages THEN "continued"
ELSE "concluded"

This way, I could create a separate section for such a table (many are
separate sections in a report anyway), and the titles I need would be
created by the returns of the "Page No. XX of XX" codes.

Am I dreaming?

Ed
 
S

Suzanne S. Barnhill

Unfortunately, I think you'll find that this will not work. The reason is
that the heading row is not physically present on subsequent pages; it's
just an artifact and as such exactly repeats the content on the first page
of the table.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 
E

Ed

*SIGH* Thanks, Suzanne. I guess I can un-cross my fingers now.

Then again, if I'm going to do this in a new section anyway, I can maybe put
this in the section header?

Ed
 
S

Suzanne S. Barnhill

That actually *will* work.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top