Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
calling word
Hallo Peter,
perhaps u should use early binding with a reference to Word Extras - References - Microsoft Word <No. of your Version Object Library then use a declaration like Dim appWord as Word.Application Set appWord= New Word.Application instead of Set appword = CreateObject("word.application") Heiko :-) "peter" wrote: Hi, Set appword = CreateObject("word.application") appword.Visible = True ...open document here appword.ActiveDocument.Bookmarks("date").Select 'after going to the bookmark and inserting the date and 'time, the selection is highlighted. appword.Selection = mDate & " " & myTIME 'i want to go to the end of the line(unhighlight) 'and go down one row (hit enter key) appword.Selection.EndKey Unit:=wdLine, Count:=1 Selection.TypeParagraph 'I get the following error at the endkey line Named argument not found run time error 448 I believe this used to work. What could I have changed in either word or excel???? thanks, peter |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
calling printer | Excel Discussion (Misc queries) | |||
CALLING PARTICULAR CHARTS | Excel Discussion (Misc queries) | |||
Calling Column D | Excel Discussion (Misc queries) | |||
Calling an Add-In | Excel Discussion (Misc queries) | |||
Calling Excel from Word with parameters | Excel Discussion (Misc queries) |