C
CRP
Version: 2008 Operating System: Mac OS X 10.6 (Snow Leopard) Processor: Intel Hi,
could you please try the following applescript on your Excel 2008 for Mac?
tell application "Microsoft Excel"
select range "A1:C3"
get address of rows of selection
select range "B13"
get address of rows of selection
end tell
I get the following result:
tell application "Microsoft Excel"
select range "A1:C3"
get address every row of selection
--> {"$A$1:$C$1", "$A$2:$C$2", "$A$3:$C$3"}
select range "B13"
get address every row of selection
--> {"$C$1:$E$1", "$C$2:$E$2", "$C$3:$E$3"}
end tell
Basically, the rows() class screws up if the range object it refers to does not start in the first column.
Thanks
Chris
could you please try the following applescript on your Excel 2008 for Mac?
tell application "Microsoft Excel"
select range "A1:C3"
get address of rows of selection
select range "B13"
get address of rows of selection
end tell
I get the following result:
tell application "Microsoft Excel"
select range "A1:C3"
get address every row of selection
--> {"$A$1:$C$1", "$A$2:$C$2", "$A$3:$C$3"}
select range "B13"
get address every row of selection
--> {"$C$1:$E$1", "$C$2:$E$2", "$C$3:$E$3"}
end tell
Basically, the rows() class screws up if the range object it refers to does not start in the first column.
Thanks
Chris