C
C. M.
I think I might have found an autofill bug. You can't autofill a series
down closer than 2 cells above a row that has merged cells in the next
column to the right.
This also derails any applescripts (but without the error) that attempt
to autofill any cells immediately to the left of any merged cells. In
that case, for example, the error in Script Editor is that the range
doesn't understand the autofill message. Here's an AppleScript that
illustrates the problem:
tell application "Microsoft Excel"
make new workbook at end
merge range "B11:B13"
tell range "A1" of active sheet
set value to 1
end tell
tell range "A2" of active sheet
set value to 2
end tell
tell range "A1:A2" of active sheet
-- Change A9 to A10 in the destination range to watch this script choke:
autofill (range "A1:A2" of active sheet) destination (range "A1:A10"
of active sheet)
end tell
end tell
This error does not happen on Office 2004.
charlie
down closer than 2 cells above a row that has merged cells in the next
column to the right.
This also derails any applescripts (but without the error) that attempt
to autofill any cells immediately to the left of any merged cells. In
that case, for example, the error in Script Editor is that the range
doesn't understand the autofill message. Here's an AppleScript that
illustrates the problem:
tell application "Microsoft Excel"
make new workbook at end
merge range "B11:B13"
tell range "A1" of active sheet
set value to 1
end tell
tell range "A2" of active sheet
set value to 2
end tell
tell range "A1:A2" of active sheet
-- Change A9 to A10 in the destination range to watch this script choke:
autofill (range "A1:A2" of active sheet) destination (range "A1:A10"
of active sheet)
end tell
end tell
This error does not happen on Office 2004.
charlie