I am trying to move the cursor to the end of a Microsoft Word document, but I cannot find the correct syntax.
Gives an error with the word "Unit"
I would like to try
wordApp.Selection.GoTo(what, which, Nothing, Nothing)
but I need objects for what and which, and I cannot find them. The VBA code is
Dim what As Object = Word.WdGoToItem.wdGoToLine Dim which As Object = Word.WdGoToDirection.wdGoToLast
But cannot locate any objects beginning with "wd"