Re: Excel Selection
Re: Excel Selection
- Subject: Re: Excel Selection
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 30 Oct 2006 14:20:42 -0800
- Thread-topic: 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