Combine Strings into One String

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to create a bookmark into Word, but I have all these strings. Is there
a method to combine these strings into one string; however have each string
as a paragraph??

Example Code:
String1 = "All Preparation Work as Stated Above"
x.Selection.TypeText String1 & vbCr

String2 = Worksheets("Bid").Cells(1, 15).Value & " : " & "Apply " &
Worksheets("Bid").Cells(i, 15).Value & " coats interior flat latex paint of
highest quality"
x.Selection.TypeText String2 & vbCr

String3 = Worksheets("Bid").Cells(1, 20).Value & " : " & "Apply " &
Worksheets("Bid").Cells(i, 20).Value & " coats interior flat latex paint of
highest quality"
x.Selection.TypeText String3 & vbCr

Thanks
 
Adam
String1 =String1 & NextLotOfTextWithOrWithoutvbCr

x.Selection.TypeText String1

NickHK
 
Use x.Selection.TypeParagraph instead of x.Selection.TypeText; also, send
each string separately to Word.
 
Back
Top