Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Excel Selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Excel Selection



On 10/30/06 1:20 PM, "Stan Cleveland" <email@hidden> wrote:

> Paul is right about the wisdom of directly utilizing the reference to a
> cell, rather than trying to use an "A1" or R1C1" address. However, if you
> need to know "where" you are in the worksheet, the following should get you
> started.
>
> If you're using Excel 2004:
>     tell application "Microsoft Excel"
>         set selRow to first row index of selection
>         set selCol to first column index of selection
>     end tell

Why use that instead of

    get address selection

?

--
Paul Berkowitz


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden

References: 
 >Re: Excel Selection (From: Stan Cleveland <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.