Solved

Adding bullets to letter in vb

Posted on 2004-04-30
2
312 Views
Last Modified: 2008-03-06
I am writing a form which generates a letter in officexp/03.  I want to know how to add a bullet.  i use .typetext("Hi") for example to put the text out... well really its like .typetext(patientname.text)  but whatever you get the idea...
0
Comment
Question by:agdude
2 Comments
 
LVL 24

Accepted Solution

by:
R_Rajesh earned 500 total points
ID: 10964361
agdude:

Private Sub Form_Load()
Dim wApp As Word.Application
Dim wDoc As Word.Document
Set wApp = CreateObject("Word.Application"): wApp.Visible = True
Set wDoc = wApp.Documents.Add
wApp.Selection.Range.ListFormat.ApplyBulletDefault
wApp.Selection.TypeText "Hello"
Set wDoc = Nothing: Set wApp = Nothing
Unload Me
End Sub

Rajesh
0
 

Author Comment

by:agdude
ID: 10964391
thanks for the fast reply... awesome thanks so much!
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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

685 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