Solved

OLE and Word 97 Commands

Posted on 1997-08-01
1
221 Views
Last Modified: 2013-11-25
I am trying to write a program in Visual Basic 5 that performs various operations in Microsoft Word 97.  I've seen on some sites (like Microsoft) where they do things like the following:
  Set WBO = CreateObject("Word.Basic")
  WBO.FileNew
  WBO.FontSize 24
  WBO.Insert "Hello World!"
  WBO.FilePrintDefault
  WBO.FileClose
  ....
  ....

What I want to know is where I can find this "language" for manipulating Word commands.  I know it is probably in the Object Browser in VB however it can't find all the commands (like FilePrintDefault used above).

Any ideas??
0
Comment
Question by:adambrody
[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
 

Accepted Solution

by:
Dudus earned 150 total points
ID: 1429277
you should get VBA help file from Office 97 CD or from VB5 CD

also check-out MSDN online ...


0

Featured Post

Enroll in June's Course of the Month

June's Course of the Month is now available! Every 10 seconds, a consumer gets hit with ransomware. Refresh your knowledge of ransomware best practices by enrolling in this month's complimentary course for Premium Members, Team Accounts, and Qualified Experts.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

717 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