R
Ryan Dunn
I'm writing a macro that iterates through a word document and operates on
each picture it finds. I need to be able to find the total number of
pictures in the file to control the for loop. I have successfully done this
with tables using ActiveDocument.Tables.Count, but there seems to be no such
variable for graphics. Using Selection.GoTo one can jump to the next
graphic, so I know that word has graphics flagged, but I need to know how
many so I know when to stop. Any ideas?
Thanks,
Ryan
each picture it finds. I need to be able to find the total number of
pictures in the file to control the for loop. I have successfully done this
with tables using ActiveDocument.Tables.Count, but there seems to be no such
variable for graphics. Using Selection.GoTo one can jump to the next
graphic, so I know that word has graphics flagged, but I need to know how
many so I know when to stop. Any ideas?
Thanks,
Ryan