I need to search a document for double paragraph markings (^p^p) and each time I find this, I need to keep track of the ^p^p position. I intend to add the position to an array, and I want to keep this search in a loop--but I'm not sure how I will know I'm at the end of page-- example:
DO
execute find 'find all ^p^p
if find.found = true
iPosition(i) = wdLine
end if
LOOP until end of page??
Also, when the find is true, I grab the wdLine information to hold my position of the ^p^p--is this correct or would there be a better way of handling this? Any thoughts would be appreciated.
cramd
DO
execute find 'find all ^p^p
if find.found = true
iPosition(i) = wdLine
end if
LOOP until end of page??
Also, when the find is true, I grab the wdLine information to hold my position of the ^p^p--is this correct or would there be a better way of handling this? Any thoughts would be appreciated.
cramd