| View previous topic :: View next topic |
| Author |
Message |
Md. Shariful Alam Khan Guest
|
Posted: Tue May 01, 2007 7:35 pm Post subject: Insert text in a open word document |
|
|
Hello,
How can I input text from a Listbox's double click to a word document? The
document must be open before inserting the text. Please help.
--
Best Regards
Md. Shariful Alam Khan |
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Tue May 01, 2007 9:32 pm Post subject: Re: Insert text in a open word document |
|
|
word := GetActiveOleObject('Word.Application')
word.ActiveDocument.Range.InsertAfter(yourString)
--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) com
"Md. Shariful Alam Khan" <murad_mouri (AT) yahoo (DOT) com> wrote in message
news:463745b9 (AT) newsgroups (DOT) borland.com...
| Quote: | Hello,
How can I input text from a Listbox's double click to a word document? The
document must be open before inserting the text. Please help.
--
Best Regards
Md. Shariful Alam Khan
|
|
|
| Back to top |
|
 |
Md. Shariful Alam Khan Guest
|
Posted: Wed May 02, 2007 12:34 am Post subject: Re: Insert text in a open word document |
|
|
Thank you very very much. I help me a lot.
Best Regards
Md. Shariful Alam Khan
"Mike Shkolnik" <mshkolnik2002 (AT) ukr (DOT) net> wrote in message
news:46376bc1 (AT) newsgroups (DOT) borland.com...
| Quote: | word := GetActiveOleObject('Word.Application')
word.ActiveDocument.Range.InsertAfter(yourString)
--
With best regards, Mike Shkolnik
Scalabium Software
http://www.scalabium.com
mshkolnik (AT) scalabium (DOT) com
"Md. Shariful Alam Khan" <murad_mouri (AT) yahoo (DOT) com> wrote in message
news:463745b9 (AT) newsgroups (DOT) borland.com...
Hello,
How can I input text from a Listbox's double click to a word document?
The
document must be open before inserting the text. Please help.
--
Best Regards
Md. Shariful Alam Khan
|
|
|
| Back to top |
|
 |
|