TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
chuck pareto
NA
1
0
How to add text at a bookmark in a word document
Dec 29 2006 2:46 PM
I'm trying to insert text at a bookmark that I've created in a word document. I'm using: Word.Bookmark bookmark1 = aDoc.Bookmarks.Add("supplier", ref range); bookmark1.Range.Text = "hello"; but this creates a new bookmark and adds the text to the range defined by the second parameter passed in. I don't want to create a new bookmark-I need to place text into a predefined bookmark. I wouldn't mind inserting text into a position on the word document if I knew the range, but the range is defined as a number ex. (start range, end range) and I can't seem to find a way to obtain those start and end ranges by moving my cursor in the word document. When I do this it only shows me a line number and column number. Any help will be great. Thanks, Chuck
Reply
Answers (
0
)
Little help on a program im writing
issues