Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 158
Default moving numbers from text into new cells

Phreakenstien,

Have you considered using "Text To Columns" using the "space" deliminter?

Columns("A:A").Select
Selection.TextToColumns Destination:=Range("A1"), DataType:=xlDelimited, _
TextQualifier:=xlNone, ConsecutiveDelimiter:=False, Tab:=False, _
Semicolon:=False, Comma:=False, Space:=True, Other:=False, FieldInfo _
:=Array(Array(1, 1), Array(2, 1)), TrailingMinusNumbers:=True

Hope that helps.

--
Thx
MSweetG222



"phreakenstein" wrote:

example
before
a b
Sam 12
Luke 19
John 13

After
a b
Sam 12
Luke 19
John 13

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
Moving text around cells without moving boarder lines Dale Excel Discussion (Misc queries) 1 December 15th 09 06:14 PM
cells containing text and numbers Skibee Excel Discussion (Misc queries) 5 July 21st 08 12:24 PM
cells containing text and numbers Jarek Kujawa[_2_] Excel Discussion (Misc queries) 0 July 21st 08 11:46 AM
Arrow Keys Moving Window Frame instead of Moving Between Cells nemmex Excel Discussion (Misc queries) 2 April 9th 07 09:08 AM
Moving, deleting, and concatenating text in cells. te_butts Excel Worksheet Functions 4 September 20th 05 05:56 PM


All times are GMT +1. The time now is 06:24 AM.

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"