Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding space to VBA code
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 "  " 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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Adding space to VBA code
Thank you for your help.
-----Original Message----- ..Text = Range("G6") & vbCrLf & _ Range("G7") & vbCrLf & _ Range("G8") "John" wrote: 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 " " 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 . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Adding space to postal code in excel | Excel Worksheet Functions | |||
Adding more space in a pulldown box? | Excel Discussion (Misc queries) | |||
Adding a space | Excel Worksheet Functions | |||
Sorting and Adding Space | Excel Worksheet Functions | |||
Adding a space with =A59&B59 | Excel Worksheet Functions |