Change Width of Objects

W

willr

I am using the following steps to copy a range of cells from an Excel
document and paste them into a Word doc.

Past Special > Link > Microsoft Office Excel Worksheet Object

Would someone be able to provide me with some VBA code that could be
used as a macro to automatically re-size all of these objects in Word
to a specified width?


Thank you,
William
 
J

Jezebel

With ActiveDocument.Shapes(n)
.Width = 100
.Height = 100
End with

You'll need your own logic to work out what n should be.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top