Not sure why you would ask here. Ask in outlook.program_vba
--
Regards,
Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft MVP [Windows NT/2000 Operating Systems]
http://www.microsoft.com/protect.
"sophie" wrote:
| hello,
|
| im using this code to open a new outlook msg from my vb
| prog:
|
| i declare this:
|
| Declare Function ShellExecute Lib "shell32.dll"
| Alias "ShellExecuteA" _
| (ByVal hwnd As Long, ByVal lpOperation As String,
| _
| ByVal lpFile As String, ByVal lpParameters As
| String, _
| ByVal lpDirectory As String, ByVal nShowCmd As
| Long) As Long
|
| and this the command to open the program:
|
| Private Sub Command1_Click()
| Dim R As Long
| R = ShellExecute
| (Me.hwnd, "Open", "private.php?do=newpm&u=?
| subject=Broken% 0Link&body=Check%
| 20your%20Links,vbNullString, App.Path,
| vbNormalFocus)
| End Sub
|
| this code works great but my simple question is: how do i
| change things in the text like:breaking lines, right
| alignment, font styles and so...
| i know that one way to break lines is:"%0a%0d"
| i would like to get a list describing all the things i
| can do in the outlook text and how i do them in vb
| (like in my example:"%0a%0d")
|
| hope you can help me, it's very very important
| thanks ( :
|
|