Please help with text box to Word bookmark problem 
Author Message
 Please help with text box to Word bookmark problem

Hi All

Sorry only me again!

I have a biggy one this time that is really baffalling me.

I want to be able to enter in words, numbers etc.. in my vb programs text
box,   then i want vb to put them to go into a MS word document.

I know how to setup a textbox in vb, and i know how to setup a msword doc
with a bookmark,.   however i am missing the link
on how to tell vb to enter in the text to the word.doc bookmark.

jsut for example,  if my doc was c:\word\vbprogram.doc  and the bookmark was
"vbwords" what would the code be ?

I am sure it can be done,  does anyone know how ?

Many Thanks!

Mark.



Fri, 06 Aug 2004 23:50:34 GMT  
 Please help with text box to Word bookmark problem
Hi Mark,

Here are some articles that might help you:

Working with bookmarks
http://www.mvps.org/word/FAQs/MacrosVBA/WorkWithBookmarks.htm

Inserting text at a bookmark without deleting the bookmark
http://www.mvps.org/word/FAQs/MacrosVBA/InsertingTextAtBookmark.htm

Control Word from Excel
http://www.mvps.org/word/FAQs/InterDev/ControlWordFromXL.htm
(sample code applies to your VB application as well)

Hope this helps,
regards,
Astrid

So that all can benefit from the discussion, please post all follow-ups to the newsgroup.
Visit the MVP Word FAQ site at http://www.mvps.org/word/


Quote:
> Hi All

> Sorry only me again!

> I have a biggy one this time that is really baffalling me.

> I want to be able to enter in words, numbers etc.. in my vb programs text
> box,   then i want vb to put them to go into a MS word document.

> I know how to setup a textbox in vb, and i know how to setup a msword doc
> with a bookmark,.   however i am missing the link
> on how to tell vb to enter in the text to the word.doc bookmark.

> jsut for example,  if my doc was c:\word\vbprogram.doc  and the bookmark was
> "vbwords" what would the code be ?

> I am sure it can be done,  does anyone know how ?

> Many Thanks!

> Mark.



Sun, 08 Aug 2004 07:05:41 GMT  
 Please help with text box to Word bookmark problem
hi

if you found a solution to this, I'd be very grateful if you would post it
up.  I am have exactly the same problem...

Thanks

David


Quote:
> Hi All

> Sorry only me again!

> I have a biggy one this time that is really baffalling me.

> I want to be able to enter in words, numbers etc.. in my vb programs text
> box,   then i want vb to put them to go into a MS word document.

> I know how to setup a textbox in vb, and i know how to setup a msword doc
> with a bookmark,.   however i am missing the link
> on how to tell vb to enter in the text to the word.doc bookmark.

> jsut for example,  if my doc was c:\word\vbprogram.doc  and the bookmark
was
> "vbwords" what would the code be ?

> I am sure it can be done,  does anyone know how ?

> Many Thanks!

> Mark.



Fri, 03 Sep 2004 02:51:19 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Please help with text box to word bookmark

2. Word 2K Add text to bookmarks using Input Box

3. Please Help - Word Count in a Text Box

4. Fonts Common Dialog and Rich Text Box problem...please help

5. using VB text boxes data but not text boxes in word 2000

6. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

7. how do you make text goto the next line in a text box,please help

8. Wordwrap the text line in a text box, please help

9. WORD bookmark not printing VB text only on some PC's

10. Find and bookmark text while Word is not visible

11. WORD bookmark text not printing from VB only on certain PC's

12. Inserting Bookmarks and Text into a Word Document

 

 
Powered by phpBB® Forum Software