P
pxlucn
When retrieving the 'value' of a range I get a list lists. When doing
a 'get XML value' of the same range I get a result but when asking for
the 'string value' I get an empty list. I think this is a bug. Can you
please confirm this and can somebody somewhere have a look at it?!
The problem is that when a number was entered in Excel and you asked
for it's value you get 20.00, when you ask for it's string value you
get the string as visible in Excel at the moment, so it could be 20.
The strange thing is that you can retrieve the string value of one
cell but not from a range.
Example:
tell application "Microsoft Excel"
tell active sheet
set mRange to range (("A1") & ":" & ("Z25"))
set mRowValues to value of mRange
-- Result: list of lists
set mRowValues to string value of mRange
-- Result EMPTY
end tell
end tell
Thanks!
a 'get XML value' of the same range I get a result but when asking for
the 'string value' I get an empty list. I think this is a bug. Can you
please confirm this and can somebody somewhere have a look at it?!
The problem is that when a number was entered in Excel and you asked
for it's value you get 20.00, when you ask for it's string value you
get the string as visible in Excel at the moment, so it could be 20.
The strange thing is that you can retrieve the string value of one
cell but not from a range.
Example:
tell application "Microsoft Excel"
tell active sheet
set mRange to range (("A1") & ":" & ("Z25"))
set mRowValues to value of mRange
-- Result: list of lists
set mRowValues to string value of mRange
-- Result EMPTY
end tell
end tell
Thanks!