none
How to Find existing shapes inserted within a Word Doc ? RRS feed

  • Question

  • Word has a "find" feature - i.e.  crtl+F - to locate graphics etc....within a doc. But what is the command to find inserted shapes ????

    Please reply : 36plaza@gmail.com

    Tuesday, June 11, 2019 3:24 PM

All replies

  • On the Home tab of the ribbon, in the Editing group, click Select > Selection Pane.

    In VBA, you can loop through the Shapes collection and the InlineShapes collection; both are properties of the Document object.


    Regards, Hans Vogelaar (http://www.eileenslounge.com)

    Tuesday, June 11, 2019 4:05 PM
  • The Find command for a graphical object, regardless of how it was inserted, is:

    Find = ^g

    This only works with in-line graphical objects, though. There is no equivalent for floating graphical objects. For floating graphical objects, VBA is the only way. For example:

    Dim Shp As Shape
    For Each Shp In ActiveDocument.Shapes
      MsgBox Shp.Name
    Next


    Cheers
    Paul Edstein
    [MS MVP - Word]

    Tuesday, June 11, 2019 11:53 PM