+ Reply to Thread
Results 1 to 4 of 4

Code for Selecting and Deleting Certain Value

  1. #1
    Registered User
    Join Date
    08-20-2013
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    12

    Code for Selecting and Deleting Certain Value

    Hey,


    I have a spreadsheet with over 14,000 entries and I am trying to eliminate some of the data in it to make it more manageable. Two pieces of data that I would like to eliminate is a twelve digit number (e.g. 000004469544) and the other are decimal numbers (e.g. 1.00 or 12.00). Any suggestions on how what the macro code would look like?

  2. #2
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Code for Selecting and Deleting Certain Value

    Hi

    This code will delete all rows with a numeric value in column A

    Its a start. I need to know more before I spend more time on this.

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    08-11-2012
    Location
    bengalur
    MS-Off Ver
    Excel 2003, 2007
    Posts
    152

    Re: Code for Selecting and Deleting Certain Value

    Please Login or Register  to view this content.
    Here the above code will consider the A column as text and check for the length of string and checks for is there any decimal point in the cell.

    If present, then removes entire row.

    _____________________________________________________________________________________________________________________________________
    Please click * to say thank you

  4. #4
    Registered User
    Join Date
    08-20-2013
    Location
    Toronto, Ontario
    MS-Off Ver
    Excel 2010
    Posts
    12

    Re: Code for Selecting and Deleting Certain Value

    Thank you very much. I greatly appreciate your help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Selecting and deleting chart points
    By alanyaber in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-18-2007, 05:34 AM
  2. Selecting and deleting unprotected cells
    By mustanggt in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-11-2007, 06:06 AM
  3. [SOLVED] Selecting and deleting records
    By bbig80524 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-10-2006, 02:09 PM
  4. More Selecting and Deleting
    By bodhisatvaofboogie in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2006, 10:40 AM
  5. [SOLVED] Selecting AND Deleting
    By bodhisatvaofboogie in forum Excel General
    Replies: 11
    Last Post: 05-24-2006, 08:25 AM

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