How do I extend or reduce the length of a diagonal line using VAB

K

Keith

I have an XL spreedsheet

On "sheet1" I have a basic drawing shape (a line) set at 45 degrees that I
want to change in size with respect to a value held in "sheet1" range A1

Range A1 value is changed fequently as a result of changes on other sheets
in this spreedsheet

I would like this line to be automatically resized relative to the value of
range A1 each time I visit "sheet1"

I am trying to produce this effect using VBA - but so far without success.

Can anyone provide me with the VBA code

Your help would be very much appreciated

Keith
 

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