Help

S

simonq

I have used the following VB to make a box bigger.

With ActiveWindow.Selection.ShapeRange
.ScaleWidth 5.43, msoFalse, msoScaleFromTopLeft
.ScaleHeight 6.14, msoFalse,msoScaleFromBottomRight
End With
End Sub

Now I want to make the box gradually get bigger when I
click the button and then when I click the button again
the box will get smaller gradually.

Can anyone point me in the right direction?????
Thanks
 
D

Doug Robbins

The following code will increase the dimensions of the first shape in a
document by 5% each time it is run. Do something similar to reduce the
size.

--
Please respond to the Newsgroup for the benefit of others who may be
interested. Questions sent directly to me will only be answered on a paid
consulting basis.

Hope this helps,
Doug Robbins - Word MVP
 

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