+ Reply to Thread
Results 1 to 2 of 2

Removing Text

  1. #1
    Registered User
    Join Date
    06-25-2009
    Location
    Houston, TX
    MS-Off Ver
    Excel 2003
    Posts
    13

    Removing Text

    Hello All,

    Is it possible to create a macro that will go through a column of cells and remove only the text leaving a number? I have imported many cells that have for example "Size:342". I would like to be able to have a macro go through and delete all the text just leaving the number. Is this possible?

    Thanks

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Removing Text

    If the numbers are always preceded with : you could run an Edit -> Replace on your column replacing: *: with nothing... if that's not the case could you provide some more example strings - there are a number of approaches available.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1