Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Inserting text into Word 97

Posted on 1998-10-14
1
Medium Priority
?
127 Views
Last Modified: 2012-05-04
I am trying to create a vb module that will insert data into a word document that has bookmarks embedded in it.
In the vb4 microsoft course notes it says that you should be able to use the wd.editgoto "bookmark" method to position the cursor at the bookmark. However, in word 97 this does not work.  What can I do ?
0
Comment
Question by:proberts082697
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 6

Accepted Solution

by:
clifABB earned 1200 total points
ID: 1439877
the editgoto was replaced with GoTo wherein you specify what

Try this (replace BM1 with the name of your bookmark):
  wdDoc.GoTo What:=wdGoToBookmark, Name:="BM1"

Or to go to the 4th bookmark, use this:
  wdDoc.GoTo What:=wdGoToBookmark, Count:=4
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question