Search code examples
vbanavigationms-wordoffice-2007

How to jump directly to the last line of the current table cell in Word 2007?


I have a large Table in MS Word 2007 (spanning several pages) and each row contains a lot of text.

Is there a keyboard shortcut in Word 2007 to directly jump to the last line of the current table cell to add text at the "bottom" of the cell?

If there is not, how could I do that with VBA?


Solution

  • Use Alt+PgDown to go to the last row in the current table (in the same column).

    The equivalent in VBA:

    Selection.EndKey Unit:=wdColumn
    

    EDIT

    (Updated after new information in the question)

    Sorry, I misunderstood. OK, then, try the following to find the end of the cell in VBA:

    Selection.EndOf Unit:=wdCell
    

    I don't know if it can be done with keyboard shortcuts, maybe someone else knows?