Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Identify Selected Object

Status
Not open for further replies.

ivymike

Mechanical
Joined
Nov 9, 2000
Messages
5,653
Location
US
Perhaps someone can point me in the right direction for this one:

I'd like to be able to write a macro such that when I select an object with a "width" property, I can click a menu bar button, type in a new width for that object, and have the object resized accordingly.

I've got the code working just fine for whole-chart resizing (although there were some probs to work around), but what I'd really like to do is make the macro universal so that it recognizes what object I've selected (legend, chartarea, plotarea, etc).

Any idea how to make it recognize the selected object?


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top