Hi Rams
At the simplest level, you need something like this:
ActiveDocument.Bookmarks("MyBookmark").Range.Text = "My new text"
However, that will destroy the bookmark. If you need to retain the bookmark,
see
Inserting text at a bookmark without deleting the bookmark
http://www.word.mvps.org/FAQs/MacrosVBA/InsertingTextAtBookmark.htm
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> I have created a 2007 addin using VSTO for office 2007 second edition,
> which
[quoted text clipped - 6 lines]
>
> Thanks in advance.
Rams - 05 Sep 2007 11:20 GMT
Thanks. It works fine.
I have a table of 10 rows. In each row i have the bookmark. Is there any
other way for filling up the tables ???
> Hi Rams
>
[quoted text clipped - 22 lines]
> >
> > Thanks in advance.
Shauna Kelly - 07 Sep 2007 15:12 GMT
Hi
Yes, there are lots of ways for filling in tables. Can you give us some more
information about the nature of the data and what you're trying to achieve?
Hope this helps.
Shauna Kelly. Microsoft MVP.
http://www.shaunakelly.com/word
> Thanks. It works fine.
>
[quoted text clipped - 30 lines]
>> >
>> > Thanks in advance.