View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
GS[_2_] GS[_2_] is offline
external usenet poster
 
Posts: 3,514
Default Excel spreadsheet to Word document

How can I convert each row into a Word document with the job-name as
the title of the documents and the information in Cols B thru T as
paragraphs in that document?


Read the data into an array and use Join(vDataIn, vbCrLf) to put each
row of the array into a new Word doc. If you want a space between
paragraphs then just double up on the delimiter...

Join(vDataIn, vbCrLf & vbCrLf)

--
Garry

Free usenet access at http://www.eternal-september.org
Classic VB Users Regroup!
comp.lang.basic.visual.misc
microsoft.public.vb.general.discussion