Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • 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
Nov 9, 2000
5,653
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