Are you really trying to emulate the key-presses for some weird reason (in which case lookup 'sendkeys()'), or are you just looking for the VBA equivalent (which is 'range.SpecialCells(xlCellTypeLastCell)')?
Chris
There are two secrets to success in this world:
1. Never tell everything you know
|