Saturday, December 30, 2017

Use VBA to group shapes in WORD on Mac

Hi all,I'm trying to group two shapes (an image and its caption) in VBA on a Mac (Mac OS 10.13.2, Word 15.41)to test: Create an empty document, add an image (Normale shape, not inline) and a text box Sub GroupTwoBoxes() ActiveDocument.Shapes.Range(Array(ActiveDocument.Shapes(1).Name, ActiveDocument.Shapes(2).Name)).Select Selection.ShapeRange.Group End Sub Formatting tags added by mark007 When I run this script I get "runtime Error 9" The... Read the entire article at the source link... Yonz

http://codango.com/use-vba-to-group-shapes-in-word-on-mac/

I am happy to share this resource that we found. The content displayed on this page is property of its original author or their organization.

No comments:

Post a Comment