... However, I get an error: Word.Application:ACTIVEDOCUMENT:TABLES:ITEM:CELL:RANGE:DUPLICATE:FIND/3 DISP_E_MEMBERNOTFOUND: EXECUTE If oRng.Find.MatchAllWordForms:= .F. , then everything is fine. ...
but get an error: Error Word.Application:ACTIVEDOCUMENT:TABLES:ITEM:COLUMNS/9 "Item". That is, Columns:Item() is not defined. How do I solve this problem ?
... arroja un error. oWord := win_oleCreateObject( "Word.Application") Called from: => WIN_OLEAUTO:GET( 0 ) oActiveDoc := oWord:Get("ActiveDocument") <===== En esta Linea se produce el Error. Muchos Saludos. Antonio Application=========== Path and name: C:\Desa\FichasWin\MenuFicha.exe ...
... } } For n:=1 to Len(aArrReplace) Reemplaza_Text_F2( oSel, aArrReplace[n][1], aArrReplace[n][2] ) Next n oActiveDoc := oWord:Get("ActiveDocument") oActiveDoc:SaveAs(cDestino + cSave) oActiveDoc:PrintOut() * oWord:Documents:Close() //AQUI: si estos estan omitidos, siempre quedarán ...
Hallo, the error I'm getting is: [3232] -> Error Word.Application:ACTIVEDOCUMENT/0 S_OK: BOOKMARKS Arguments: ( [ 1] = Type: N Val: 2) >NIL< [3232] -> Error at ...: TOLEAUTO:BOOKMARKS(0) in Module: >../../win32ole.prg< when i wrote AADD(aTextmarke, ...
Hallo, möchte die Bookmarks (Textmaken) eines Word Dokumentes ermitteln und finde den entsprechenden Aufruf nicht, z.B. durch: For j := 1 to oWord:ActiveDocument:Bookmarks:Count() AADD(aTextmarke, oWord:ActiveDocument:Bookmarks(j):Name) Next j Das funktioniert nicht! Zwar liefert oWord:ActiveDocument:Bookmarks:Count() ...
MAILMERGE The next error: Error description: Error Word.Application:ACTIVEDOCUMENT:MAILMERGE/3 DISP_E_MEMBERNOTFOUND: EXECUTE I resolved by changing the registry key: HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Options "SQLSecurityCheck" ...
Save and printing : oWord:ActiveDocument:SaveAs("c:\temp\test.doc") oWord:PrintOut() oWord:Quit() release object oRange, oWord oWord = null // Finally, stub out the reference to make sure it's released setting margins : #define ...
Thanks Anserkk For add a picture Emg tell me to insert oWord:ActiveDocument:Shapes:AddPicture( "c:\logoditta.bmp", .T., .T., 1, 1, 150, 80) but this is not transparent , how I can make to insert a big picture transparent ? I'm trying to create ...