Help needed with Automating Word

Alain Bourdiaudhy <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <F1643BFF0A7ED211B82F0000E8DF67911AB0AD@DPSERVER>
 Hi all,

I'm trying to add a row to a table in a worddocument.

the syntax is     function  Add(var BeforeRow: OleVariant): Row; safecall;

However unless i use the predefined EmtpyParam as a parameter i allways get
"Bad Parameter" and Word rejects the call.

Does anyone know how to tell the program i want a row inserted before the
5the row for instance?

thanks in advance,

Alain.


<FONT SIZE=1 FACE="ARIAL">
********************************************************************
De informatie verzonden via deze e-mail is enkel bestemd voor de geadresseerde.
Ieder gebruik van deze informatie door een ander persoon dan de geadresseerde, is verboden.
Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is verboden.
IPFP N.V. / Distriplan N.V. garandeert noch de juiste en volledige overbrenging van de verzonden e-mail, noch de tijdige ontvangst ervan.
IPFP N.V. / Distriplan N.V. heeft het recht om deze professionele e-mail van de werknemer in te zien.

The information contained in this e-mail is intended solely for the addressee.
Any use of this information by another person is forbidden.
Disclosing, copying, distributing or providing this information to third parties is forbidden.
IPFP N.V. / Distriplan N.V. does not guarantee either the correct and complete transmission of an e-mail sent, nor the timely receipt thereof.
IPFP N.V. / Distriplan N.V. has the right to read this professional e-mail of its employees.
********************************************************************
</FONT>

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada. http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sO0ANB/LIdGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.