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: 36
Default Reading/Disassembling a String of information

The code below gathers numbers from a set range and then consolidates
them to one cell:
E F G ... V
1 No 3 ... 1,No,3,...

Sub StrgGen()
Set nana = Range("E12:T12")
Range("V12").ClearContents
increment = 1
For Each c1 In nana
If increment = 1 Then
Range("V12").Value = c1.Value
increment = 2
Else
Range("V12").Value = Range("V12").Value & "," & c1.Value
End If
Next c1
End Sub

I am curious to know if there is a way to disassemble the generated
string. The values of the cells are not restricted and thus the
string will vary in length. Does anyone have any solutions? Any help
will be greatly appreciated.
 
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
retrieve information from clipboards not in the reading pane JodieLeeGarcia Excel Discussion (Misc queries) 0 June 23rd 09 09:19 PM
Newbie: Reading color information [email protected] Excel Programming 2 November 7th 06 11:20 AM
Reading information from a closed workbook yhockman1 Excel Programming 2 March 15th 06 01:25 PM
Reading the Clipboard Source Information TCook Excel Programming 0 October 9th 05 04:49 AM
Reading information from all workbooks in a folder... H. Rye Excel Programming 2 January 2nd 04 02:55 PM


All times are GMT +1. The time now is 03:02 AM.

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"