LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default Exporting excel cell contents to word document

Hello,

How do I export a cells contents to a specific word file as a new line?
I also want to be able to label each line with a counter.

Say for example my cells value is "cell value" and my word file is
"destination.doc" I want to be able to do something like


counter = 1
Do until activecell.value = empty
{"destination.doc" value = counter &
activecell.value}
{new line so that next string isnt added to end of prev string in
word doc}

activecell.offset(1,0).select
Loop


Any ideas?

 
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
Show contents of Word document in cell wal Excel Discussion (Misc queries) 0 November 7th 08 02:48 AM
Exporting multiple cell contents into word document Davy L Excel Worksheet Functions 1 September 6th 05 04:06 AM
Help, insert a word document contents into excel tab? Dan Ward Excel Discussion (Misc queries) 2 December 15th 04 12:01 AM
Exporting VBA DataForm Info to Word document bg18461[_10_] Excel Programming 2 November 9th 04 11:21 PM
Exporting text to a Word document Ian M[_2_] Excel Programming 1 May 3rd 04 04:25 AM


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

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

About Us

"It's about Microsoft Excel"