Unanswered: How to make a line break when exporting text to Outlook??
I've made an application in Access, one part of which is that the user cand send the contents of entered fields as an e-mail with the default mailing program. Everything else is fine but there are several fields that they enter (not just one mail body) and they should appear in new lines in the mail. I tried vbCrLf and vbLf but they didn't work when exporting the text to Outlook (I tried them both in function1/2/3 and mailBody, below is the one with vbCrLf in function1/2/3). Does anyone know how to do this????
Here's the code in a simplified way:
Private 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
Private Const SW_SHOWNORMAL = 1
'and so on... and then:
Private Sub cmdSendUpdate_Click()
Dim parameter1 As String
Dim parameter2 As String
Dim parameter3 As String
Dim mailBody As String