Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

How do I remove delimiting from a series of columns?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Zemo - 01 Oct 2004 12:09 GMT
I have a large block of columns which I had to delimit, then change the info
inside, and now I have to put that information back into the original single
column it came from.

How can I do this?

EX

A1 B1 C1 D1
x   x   x   x

back into

A1
xxxx

Thanks for any help :)
JE McGimpsey - 01 Oct 2004 14:27 GMT
Take a look here:

  http://www.mcgimpsey.com/excel/mergedata.html

> I have a large block of columns which I had to delimit, then change the info
> inside, and now I have to put that information back into the original single
[quoted text clipped - 13 lines]
>
> Thanks for any help :)
Gord Dibben - 01 Oct 2004 17:42 GMT
Zemo

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 If 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 Excel MVP

>I have a large block of columns which I had to delimit, then change the info
>inside, and now I have to put that information back into the original single
[quoted text clipped - 13 lines]
>
>Thanks for any help :)
Gord Dibben - 01 Oct 2004 17:54 GMT
Apologies.

You did say a block of columns.

My code is not practical for that operation.

See J.E.'s posting.

Gord

>Zemo
>
[quoted text clipped - 40 lines]
>>
>>Thanks for any help :)
Gord Dibben - 01 Oct 2004 17:54 GMT
Apologies.

You did say a block of columns.

My code is not practical for that operation.

See J.E.'s posting.

Gord

>Zemo
>
[quoted text clipped - 40 lines]
>>
>>Thanks for any help :)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.