Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default copying excel info into word

How can i copy a column of excel information into a Word document, and have
the style change it into a paragraph format? For instance if i have a column
of drawing numbers, i'd like to insert them into a word document but in a
pargraph form, hopefully separated by commas? Possible? Or am I expecting
too much?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default copying excel info into word

Eric

You could place the column of numbers into one comma-delimited cell in Excel
then copy that one cell into Word.

Sub ConCat_Cells()
Dim x As Range
Dim y As Range
Dim z As Range
Dim w As String
Dim sbuf As String
On Error GoTo endit
w = InputBox("Enter the Type of De-limiter Desired")
Set z = Application.InputBox("Select Destination Cell", _
"Destination Cell", , , , , , 8)
Application.SendKeys "+{F8}"
Set x = Application.InputBox("Select Cells...Contiguous or Non-Contiguous", _
"Cells Selection", , , , , , 8)
For Each y In x
If Len(y.text) 0 Then sbuf = sbuf & y.text & w
Next
z = Left(sbuf, Len(sbuf) - 1)
Exit Sub
endit:
MsgBox "Nothing Selected. Please try again."
End Sub


Gord Dibben MS Excel MVP

On Wed, 6 Jun 2007 07:25:04 -0700, EricS
wrote:

How can i copy a column of excel information into a Word document, and have
the style change it into a paragraph format? For instance if i have a column
of drawing numbers, i'd like to insert them into a word document but in a
pargraph form, hopefully separated by commas? Possible? Or am I expecting
too much?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,819
Default copying excel info into word

Find, and replace the "paragraph mark" with a "comma" in Word.

EricS wrote:

How can i copy a column of excel information into a Word document, and have
the style change it into a paragraph format? For instance if i have a column
of drawing numbers, i'd like to insert them into a word document but in a
pargraph form, hopefully separated by commas? Possible? Or am I expecting
too much?



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
Copying info from a Browser window into Excel Don[_2_] Excel Worksheet Functions 2 March 20th 07 02:33 PM
pasting Word table info into Excel V-ger Excel Discussion (Misc queries) 4 August 14th 06 06:29 PM
Am I able to link excel info with word and have it change when i c Dawn New Users to Excel 1 June 15th 05 08:19 PM
Extracting info from word and displaying in an excel spreadsheet Drew Excel Discussion (Misc queries) 0 March 7th 05 03:49 AM
getting specific info from a word document into excel smintey Excel Discussion (Misc queries) 3 December 8th 04 08:20 PM


All times are GMT +1. The time now is 11:32 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"