How to get top and left position of a chart in Excel in Applescript?

  • Thread starter sid_a via MacKB.com
  • Start date
S

sid_a via MacKB.com

Hi!

I want to get the top and left position of a chart in Excel in Applescript.
here is the code. It always returns 4.0 in both top and left position.


tell application "Microsoft Excel"
set {top:top_active_chart, left position:left_active_chart} to chart area
object of active chart

return "top:: " & top_active_chart & return & "left position:: " &
left_active_chart
end tell

If anyone can help!!

Thanks.
 

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