Working with Pages and Footnotes

G

gklekeas

Hi All,

I have a long Word document (around 400 pages) and I would like to b
able to do the following task: browse the document by page and if th
page has a footnote, then I do not add a header to it - otherwise,
custom header is added.

I know there is a Footnotes collection under the Document object, bu
how do you browse by page?

I look forward to hearing from you soon.

Thanks in advance.

Georg
 
D

Doug Robbins

A couple of problems with what you are doing - headers are a Section
property so your macro would have to be dividing the document into Sections
to be able to have/not have a header on individual pages.

As far as the browsing is concerned, you would browse by footnote, not by
page. Each page has a built in bookmark named "\page" that has a .Range
object that you can make use of to insert Section Breaks.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 
G

gklekeas

What if I make every page a different section? Would that not solve th
problem?

Thanks,
Georg
 
D

Doug Robbins

Maybe, but it would screw up the text flow in the document if you need to
edit it.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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