View Single Post
 
Old 03-01-2023, 06:47 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,176
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

Graphics might be InlineShapes or Shapes depending on whether they are floating (have text wrapping turned on) or not.
Code:
  Dim aShp As Shape, aInShp As InlineShape
  Debug.Print "Shapes: " & ActiveDocument.Shapes.Count
  For Each aShp In ActiveDocument.Shapes
  
  Next aShp
  Debug.Print "Inline Shapes: " & ActiveDocument.InlineShapes.Count
  For Each aInShp In ActiveDocument.InlineShapes
  
  Next aInShp
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote