I’d be very grateful to have a Visual Basic function written that can create a list of shapes (pictures, diagrams etc) in a nominated sheet. I would hope to have a function like:
XShapeList(Sheet,Cell) where Sheet is the text of the required sheet name and Cell is the reference of the top left cell where the list will be placed. An example is
XShapeList(“[myBook.xls]Sheet3”,[Book1]Sheet1!$E$31) which would examine all the shapes in [myBook.xls]Sheet3 and place the vertical list starting from the cell of [Book1]Sheet1!$E$31
The return from XShapeList should be the number of shapes found (including zero) or FALSE if any error occurs.
Background. I use the old Macro language, and I get Microsoft Word documents sent to me that I need to analyse. Some of the photos in this document have names longer than 32 characters and I cannot get these names. XShapeList (as above) should resolve the problem for me. My Visual Basic skills are not good. If grouped shapes are found, only the top group name is necessary.
If you have any further suggestions to get an excellent solution I’d be most interested.
Regards