Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 14th, 2008, 09:15 AM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Separating a CSV cell into 1 value per cell

Hi Everyone,

I receive a large spread sheet weekly, one or the column contains comma separated values, I need to separate those values 1 per cell.

Maximum CSV is 5; I would need to get the output to 5 cells next to them,

Example,

Source data
(A1) 10,11,12,13,14

Output needed
(B1) 10
(C1) 11
(D1) 12
(E1) 13
(F1) 14

I have no clue where to start, any help you could provide would be greatly appreciated


 
Old March 14th, 2008, 12:24 PM
Authorized User
 
Join Date: Nov 2007
Posts: 48
Thanks: 0
Thanked 4 Times in 4 Posts
Default

bigtonyicu,

Highlight all the cells in column A.

Then click on Data, Text to columns, radio button "Delimited", click on the next button, click for "comma", and click on the "Finish" button.


Have a great day,
Stan

stanleydgromjr

Windows Vista Business and Excel 2003, 2007.
 
Old March 14th, 2008, 12:28 PM
Registered User
 
Join Date: Mar 2008
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much!!!






Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy data into cell by cell zone Excel VBA 2 September 4th, 2007 11:50 AM
I need to refer a cell within a cell like =RC[ RC2 chakravarthi_os Excel VBA 1 September 24th, 2006 08:19 AM
Parsing and Removing CSV values in row cell. peryan77 SQL Server 2000 5 February 2nd, 2006 03:48 PM
if the cell content is a part of another cell cont sriramus Excel VBA 1 November 15th, 2005 10:20 AM
Lose cell Text when editing cell in VSFlexGrid 6 bobcratchet VB How-To 0 July 30th, 2004 09:32 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.