General information
Category:
Windows API functions
Title:
My Word/VBA problem
Hi,
sorry to bother you with such trifle:
with oWord && Win98, Word97, VFP6
.Visible = .t.
.Application.Activate
.Documents.Open(mydoc)
.ActiveWindow.WindowState = 1
.Selection.MoveDown Unit:=wdScreen, Count:=1
.Selection.TypeText("XXXXXXXXXX"+chr(13))
endwith
Why is text insterted at top of doc instead of bottom?
If I create a macro, similar code works...
Rolf
Next
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