Your first post says the headings are not using heading styles. Your second post has code that won't work if that is the case.
If you want a hand with this task you need to provide a sample document that demonstrates the actual setup of your files.
You also need to be clearer on what you want to happen when the range is determined. Do you want to output the range on the current printer?
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|