Solved

Adding bullets to letter in vb

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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now