• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Determining
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determining


  • Subject: Determining
  • From: Oakley Masten <email@hidden>
  • Date: Mon, 26 Nov 2007 13:43:53 -0800 (PST)

 "Justin Laden" <email@hidden> wrote:

Hi everyone,
I'm attempting to return the row number of last cell
with data in a
Excel table.  Is there a way to do this?

Try this:
tell application "Microsoft Excel"
	set cols to count of columns of used range of active
sheet
	set rws to count of rows of used range of active
sheet

	--you pick the row and column for the info
	set zdata to (value of cell 6 of column 4 of active
sheet)
end tell

Oakley
 _______________________________________________
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/archives/applescript-users

This email sent to email@hidden

  • Prev by Date: Re: filemaker AS help
  • Next by Date: Re: switching user using apple script
  • Previous by thread: Re: Determining
  • Next by thread: filemaker AS help
  • Index(es):
    • Date
    • Thread