General information
Category:
COM/DCOM and OLE Automation
Use:
.Selection.MoveDown( , 1)
or just
.Selection.MoveDown()
because 1 is default.
>Ok another question. If I create a table in a word document with automation. How do I move from the right most column to the next row.
>
>.Selection.MoveDown(1) does not work
>
>Jim
>
>>Instead use
>>oWord.Selection.InsertBreak
>>
>>>Yuri,
>>>
>>> Thanks for the response. My next question is how do I insert a page break without deleting any existing text. The code that does this is below.
>>>oWord.Selection.EndKey(6)
>>>oWord.ActiveDocument.Range.InsertBreak
>>>
>>>>>Hello,
>>>>>
>>>>> How do I get to the bottom of a word document using automation?
>>>>
>>>>oWord.Selection.EndKey(6)
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only