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: 244
Default Placing text-to-column data in array

In my macro I use the text-to-column function (a recorded macro) to split up
info in a list of cells. The text in the cell can be like: ACGB 4.55 0311. I
split this into three different datas: 1)ACGB 2)4.55 and 3)0311. When
recording a macro I store the info in cells on the spreadsheet. However I
want to store the data in an array and then sort the array based on the last
data ie. 3). Is this possible?

My problem is also that I do not know how big the array needs to be. Let me
further explain what I want to do. I have a list with different bonds that
looks like:
Sec ID Sec Type Ticker
ACGB 4.55 0311 GOV BOND FNMA4.8876
ACGB 4.88 0319 GOV BOND FMCC4.11X

Now I want to sort the list based on the last info in Sec ID, I do that with
text-to-columns. However I want to sort the entier list without having to add
extra columns etc. Does anyone have an idea on how to do this? Please help me
out! Any help appreciated! Many thanks in advance!
 
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
Formula for taking text out of column B and placing it into column urlocaljeweler New Users to Excel 1 December 8th 09 06:47 PM
placing numbers in one column at intervals of 2nd [email protected] Excel Discussion (Misc queries) 0 September 13th 06 06:01 AM
Need help with a tricky problem of placing a number within an array... [email protected] Excel Worksheet Functions 2 January 23rd 06 09:36 PM
Why is my chart placing one column on top of another when I use a. MGutschmit Charts and Charting in Excel 1 January 19th 05 09:02 AM
Placing an array on the active sheet M R Excel Programming 0 July 14th 03 12:11 AM


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