+ Reply to Thread
Results 1 to 8 of 8

Strange Character

  1. #1
    Registered User
    Join Date
    09-24-2007
    Posts
    10

    Strange Character

    There is a strange character appearing throughout my data.
    It is a square. I think its a formatting character.
    I want to delete this character, but I have far too much data to delete them one at a time.
    I cannot copy and paste it into find/replace.
    Any ideas on how to delete this character.

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    Try the CLEAN() function.

    Edit: Or, you can use the CODE() function to find out what the character is, and do Replace to delete it. So if the character is a line feed (10), then in the Find dialog, hold down the Alt key, and on the numeric keypad, enter 010, and in the Replace dialog, enter nothing or a space.
    Last edited by shg; 10-10-2007 at 12:03 PM.

  3. #3
    Registered User
    Join Date
    09-24-2007
    Posts
    10
    thanks for the advice.
    clean funtion does work.

    but I would like to know about this other method.
    so, I followed the first step and found that the numeric code for this character is 13.
    but when I go to edit - find, and hold down the alt key to type, I cannot type anything.
    am I missing something?

    would I have to convert all the characters to numbers and just search for the # 13?, Or somehow search for this character by typing its numeric code via the alt key?

  4. #4
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    It's a carriage return, and CLEAN does remove it; i just did it.

    Quote Originally Posted by jonzel
    edit - find, and hold down the alt key to type, I cannot type anything.
    am I missing something?
    Yes:
    Quote Originally Posted by shg
    hold down the Alt key, and on the numeric keypad, enter 010
    Not the number keys below the symbols, the numeric keypad, and enter the three-digit code (013 for carriage return)

  5. #5
    Registered User
    Join Date
    09-24-2007
    Posts
    10
    I am using the numeric keypad.
    and when I hold down Alt, I cannot type anything

  6. #6
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    You won't see anything if it's a control character. If you want to convice yourself it's doing something, enter 097 to see a lower case a.

  7. #7
    Registered User
    Join Date
    09-24-2007
    Posts
    10
    ok
    when I type Alt 097 - I get an "a"
    when I type Alt 013 - I see nothing like u say, but when I click "find all" I just get a list of all my blank cells.
    so its actually searching for blank cells.

  8. #8
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678
    OK, put this is a code module and run it:
    Please Login or Register  to view this content.
    Edit: If you want to replace the carriage returns with a space (and then delete doubles spaces if necessary later), change
    Please Login or Register  to view this content.
    Last edited by shg; 10-10-2007 at 02:51 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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