Search found 32 matches: activedocument

Return to advanced search

Re: Select part of the cell

... 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. ...
by Natter
Mon Aug 21, 2023 1:53 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Select part of the cell
Replies: 5
Views: 292

Re: Corrector ortográfico

... Local cText:=Texto oWord:=TOleAuto():New( "Word.Application" ) oWord:Visible := .f. oWord:Documents:Add() oDoc := oWord:Get("ActiveDocument") oTexto := oWord:Selection() oTexto:Text := Texto oDoc:CheckSpelling() cText := oTexto:Text oDoc:Close(0) oWord:Quit() oTexto:=NIL ...
by jpcavagnaro
Fri Aug 19, 2022 8:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Corrector ortográfico
Replies: 3
Views: 326

Column width of the Word table

Hi.

II want to get the column width of the Word table

oTb:Item(1):Columns:Item(1):Width

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 ?
by Natter
Fri Dec 25, 2020 2:41 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Column width of the Word table
Replies: 1
Views: 297

Re: Retomo Problema de uso de Word

... 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 ...
by remtec
Sun Oct 13, 2019 2:34 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Retomo Problema de uso de Word "FUNCIONANDO"
Replies: 17
Views: 2936

Re: Retomo Problema de uso de Word

... } } 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 ...
by FranciscoA
Thu Oct 10, 2019 6:56 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Retomo Problema de uso de Word "FUNCIONANDO"
Replies: 17
Views: 2936

Re: Auslesen von Bookmarks aus einem Wordfile

Hallo,
the following lines work well:

For j := 1 to oWord:ActiveDocument:Bookmarks:Count()
AADD(aBM, oWord:ActiveDocument:Bookmarks:Item(j):Name)
Next j

Thank you four your help
Kind regards, Hoschik
by Hoschik
Sun May 24, 2015 9:47 pm
 
Forum: All products support
Topic: Auslesen von Bookmarks aus einem Wordfile
Replies: 8
Views: 3443

Re: Auslesen von Bookmarks aus einem Wordfile

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, ...
by Hoschik
Sun May 24, 2015 9:01 am
 
Forum: All products support
Topic: Auslesen von Bookmarks aus einem Wordfile
Replies: 8
Views: 3443

Re: Auslesen von Bookmarks aus einem Wordfile

Also try this

AADD(aTextmarke, oWord:ActiveDocument:Bookmarks( j + 1 ):Name)

What error do you get ? Please copy it here, thanks
by Antonio Linares
Sun May 24, 2015 7:35 am
 
Forum: All products support
Topic: Auslesen von Bookmarks aus einem Wordfile
Replies: 8
Views: 3443

Re: Auslesen von Bookmarks aus einem Wordfile

Have you tried this ?

For j := 1 to oWord:ActiveDocument:Bookmarks:Count()
AADD(aTextmarke, oWord:ActiveDocument:Bookmarks( j - 1 ):Name)
Next j
by Antonio Linares
Sun May 24, 2015 7:33 am
 
Forum: All products support
Topic: Auslesen von Bookmarks aus einem Wordfile
Replies: 8
Views: 3443

Auslesen von Bookmarks aus einem Wordfile

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() ...
by Hoschik
Sat May 23, 2015 2:45 pm
 
Forum: All products support
Topic: Auslesen von Bookmarks aus einem Wordfile
Replies: 8
Views: 3443

Re: Saber Metodos de un CREATEOBJECT

... PROPERTYGET BSTR Name() STDCALL dispatch PROPERTYGET PTR Documents() STDCALL dispatch PROPERTYGET PTR Windows() STDCALL dispatch PROPERTYGET PTR ActiveDocument() STDCALL dispatch PROPERTYGET PTR ActiveWindow() STDCALL dispatch PROPERTYGET PTR Selection() STDCALL dispatch PROPERTYGET IDispatch ...
by Antonio Linares
Sun May 12, 2013 9:52 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Saber Metodos de un CREATEOBJECT
Replies: 62
Views: 32144

Re: wordtable.prg sample

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" ...
by Otto
Sun Apr 28, 2013 9:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: wordtable.prg sample
Replies: 6
Views: 1007

wordtable.prg sample

... Build 7601 Service Pack 1 Time from start: 0 hours 0 mins 1 secs Error occurred at: 04/28/13, 00:25:10 Error description: Error Word.Application:ACTIVEDOCUMENT:TABLES:ADD:ROWS:ITEM:CELLS:ITEM:RANGE/0 S_OK: INSERTAFTER Args: [ 1] = D / / Stack Calls =========== Called from: => TOLEAUTO:INSERTAFTER( ...
by Otto
Sat Apr 27, 2013 10:30 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: wordtable.prg sample
Replies: 6
Views: 1007

Re: To < Anserkk > about sample < Wordtable.prg >

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 ...
by ukoenig
Sat Feb 23, 2013 5:03 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To < Anserkk > about sample < Wordtable.prg >
Replies: 12
Views: 6226

Re: Move a Table into a Word Document

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 ...
by Silvio.Falconi
Sat Feb 23, 2013 10:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Move a Table into a Word Document
Replies: 10
Views: 3508
Next

Return to advanced search