?
Solved

OLE and Word 97 Commands

Posted on 1997-08-01
1
Medium Priority
?
225 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 300 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

Independent Software Vendors: 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

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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 is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

770 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