Thread: vb Code
View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Jim Thomlinson Jim Thomlinson is offline
external usenet poster
 
Posts: 5,939
Default vb Code

Perhaps this...

..Body = "text" $ cell.offset(0,-1).Value & " " &
cell.offset(0,-2)&vbNewline&vbNewline&_
--
HTH...

Jim Thomlinson


"Excel Help!" wrote:

I have the following code in my macro; however, I wish to place a space
between two fields: FirstName LastName. The data prints out
"FirstNameLastName". Thanks for any help.

.Body = "text" $ cell.offset(0,-1).Value &
cell.offset(0,-2)&vbNewline&vbNewline&_