When you try to automate Excel, you can first figure out how to do what you want in Excel, and then figure out a way to do this using the automation API.
, "" Excel, , , . "XFD1" . 16 000.
, , End, " ", Left Arrow, 15 "O" "O1".
API # " "? Range.End. :
VBA End:
Excel , VBA - , #.
Excel, , , API !