S
St!ff M!ttens
I've gotten this far:
tell application "Microsoft Excel"
try
set theProps to (properties of used range of sheet 1 of active
workbook)
set theArea to (areas of theProps)
set theRange to (item 1 of theArea)
set theNextRow to ((first row index of (get end theRange direction
toward the bottom)) + 1)
on error errMsg number errNum
display dialog "Error: " & errNum & return & errMsg
end try
end tell
It works, but I have to think that there is a more concise way to get
the next row down from the last row with data in it. Anybody got a
suggestion?
tell application "Microsoft Excel"
try
set theProps to (properties of used range of sheet 1 of active
workbook)
set theArea to (areas of theProps)
set theRange to (item 1 of theArea)
set theNextRow to ((first row index of (get end theRange direction
toward the bottom)) + 1)
on error errMsg number errNum
display dialog "Error: " & errNum & return & errMsg
end try
end tell
It works, but I have to think that there is a more concise way to get
the next row down from the last row with data in it. Anybody got a
suggestion?