vb Code

  • Thread starter Thread starter Excel Help!
  • Start date Start date
E

Excel Help!

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&_
 
Perhaps this...

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top