Solved

OLE and Word 97 Commands

Posted on 1997-08-01
1
204 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
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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
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…

786 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