For Programmers: Free Programming Magazines  


Home > Archive > Cobol > February 2006 > Re: ouvrir un document word à partir d'un programme cobol









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: ouvrir un document word à partir d'un programme cobol
2jo

2006-02-23, 6:55 pm

thanks for the answer
just for your information Michael Mattias it's not my first COBOL
program and i know how to use 'CALL' in COBOL
what i've said it's just exemples in VBA...

i realize that it's not possible to do this on that way

so i change the way to do the traitment
i scan the word document and i change words or expressions
it's OK when it's text but what i need to change is merge fields
to change only text the instruction is :
invoke theFind "setText" using by content unevar

and to change mergefield???

example : i've my letter with mergefield like "name" "city" "address"
....
and i want to replace these ones by values i've chosen ("city" ->
London, "name" -> Lee, ...)
but i can't
what the instruction in cobol to do this?

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com