State of things on exiting a for loop

M

mccaskey

In some places, after this loop

For Each nField In note.Range.Fields
....
Next nField

nField is the last field in the note. (note is a footnote.) Sometimes
it is set to nothing.

I haven't found the pattern. Any suggestions?
 
R

Russ

Is this suppose to be part of another message thread?
It seems totally 'out of the blue' or incomplete.
 
C

Chip Orange

What if there weren't any fields? Then it would have to be set to nothing
in those cases.
 

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