Adding space to VBA code

  • Thread starter Thread starter John
  • Start date Start date
J

John

My question is I want these values on different lines but
by default it places them all on the same line. I am
almost looking for something like in html " &nbsp" or
<br>.. I hope I explained this ok.
Thanks in advance.

Dim mywdRange As Word.Range
Set mywdRange = myDoc.Words(1)
With mywdRange
.Text = Range("G6") & _
Range("G7") & _
Range("G8")
End With
 

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