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
Solved

OLE and Word 97 Commands

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Script Host failed (Access is denied.) error 6 221
Add and format columns in vb6 7 63
Sub or Function is not defined 6 43
Please explain purpose of GZIP 4 34
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…
A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
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…

792 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