When starting Outlook-mail from WORD,
I use a var to add the subject line.
Now, I want tio use the same var in the body.
How Do I use my var 2 times?
(..)
Dim inputData As String
inputData = InputBox("Your number", "Input number")

Set OutApp = CreateObject("Outlook.Application")
Set OutMail = OutApp.CreateItem(0)
On Error Resume Next
' Change the mail address and subject in the macro before you run it.
With OutMail
.To = "yourname@yourname.be"
.CC = ""
.BCC = ""
.Subject = inputData
.Body = "" & vbCrLf & _
"kind regards" & vbCrLf & _
"My company name" & vbCrLf & _
"My company adress" & vbCrLf & _
"My company city"
----------
In the body I want to use again the var.
If I use
.Body = inputData & vbCrLf & _
"kind regards" & vbCrLf & _
"My company name" & vbCrLf & _
"My company adress" & vbCrLf & _
"My company city"

the macro does not work.
How to do this?
Thanks.
(Ed)ward.