Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
gwc gwc is offline
external usenet poster
 
Posts: 62
Default Excel spreadsheet to Word document

My Excel spreadsheet has 300 rows and 20 columns.

In each row, Col A contains a job-name and Cols B thru T contain information about various attributes (i.e., date; frequency; input; output; description; etc) of the job-name.

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?
  #2   Report Post  
Posted to microsoft.public.excel.programming
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


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I attach a Word document in an Excel spreadsheet? jc Excel Discussion (Misc queries) 0 March 19th 09 08:20 PM
Add Word document to end of Excel spreadsheet Sheila Excel Discussion (Misc queries) 1 September 25th 08 07:38 PM
Can you save an excel spreadsheet to a word document or pdf? Gen Excel Discussion (Misc queries) 5 April 11th 07 10:04 PM
Hyperlink a word document to an excel spreadsheet Noel Excel Discussion (Misc queries) 2 January 29th 07 06:58 PM
how do i add a word document into an excel spreadsheet? G-Man Excel Discussion (Misc queries) 1 May 28th 06 05:40 PM


All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"