klornpallier
Technical User
Hi,
I would be very greatful if someone could me an idea with this one. I'm sending an Outlook email and printing the values to the body:
oMsg.Body = "Dear " & Me.PREFERREDLabel1.Text & "," & vbCr & vbCr _
Me.DrivingLicErrLabel.Text & vbCr & _
Me.DrivLicExpErrLabel.Text & vbCr & _
Me.RegNoErrLabel.Text
My problem is if Me.DrivLicExpErrLabel.Text = "" then it prints an empty line where I would like it to move Me.RegNoErrLabel.Text up a line. Any advice?
I would be very greatful if someone could me an idea with this one. I'm sending an Outlook email and printing the values to the body:
oMsg.Body = "Dear " & Me.PREFERREDLabel1.Text & "," & vbCr & vbCr _
Me.DrivingLicErrLabel.Text & vbCr & _
Me.DrivLicExpErrLabel.Text & vbCr & _
Me.RegNoErrLabel.Text
My problem is if Me.DrivLicExpErrLabel.Text = "" then it prints an empty line where I would like it to move Me.RegNoErrLabel.Text up a line. Any advice?