Solved

Adding bullets to letter in vb

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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone 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
Macro Excel - Multiple If conditions 2 81
Problem to With line 4 63
RUNRMTCMD from AS/400 12 68
VBA to find and replace multiline text from VBA modules 8 63
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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

789 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