Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Adding bullets to letter in vb

Posted on 2004-04-30
2
Medium Priority
?
318 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 2000 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

886 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