Solved

Adding bullets to letter in vb

Posted on 2004-04-30
2
314 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
[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
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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
vb6 connector to mongodb 2 160
RUNRMTCMD from AS/400 13 121
checkbox to hide entire section 10 74
Macro problems with Excel file 6 51
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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

742 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