+ Reply to Thread
Results 1 to 5 of 5

Invisible cell content

  1. #1
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Invisible cell content

    I copied a draw for a tennis tournament from a website. Where the “byes” were in the draw, there were empty cells on my spreadsheet. So I go to “find and select,” “go to” “special” “blanks” and hit OK. When I hit delete, the blank cells don’t go away like they usually do. I figure there is a space in the cell. I go to “find” and type ~ and hit the space bar. Excel finds some spaces, but none in the apparently empty cells. YET… if I select the apparently empty cell and hit “clear” “all”, and THEN go to “find and select,” “go to” “special” “blanks” and hit OK and delete the empty cells are deleted. There is SOMETHING in the cell but it is invisible and it is not a space. How do I get rid of whatever it is? Thanks

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Invisible cell content

    Sounds like you have non-breaking spaces there.

    Try using a helper column with =SUBSTITUTE(A1,char(160),"") change A1 to match your data
    copy that down

    Then copy that range and paste/Values over your original data and delete the formulas

    OR
    in a free cell somewhere...
    1. type =CHAR(160) and enter
    2. press F2 then F9 (edit/Calc) and enter (this will convert the formula to it's answer
    3. Copy that cell and use it as the Find in a Find/Replace...and Replace with nothing
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Invisible cell content

    Thanks. Your second suggestion… Char(160), F2, F9… worked fine, but only for the cell I entered that code into. (I did highlight the entire column when doing the “search and replace” with nothing.) (By the way… I tried “clean" with the same result.) I’m going to be doing this thousands of times, so I need to be able to apply it to a large range or, preferably, incorporate it into my macro. I’ve never used “substitute” … so I’m sure I’m making some ignorant mistake. Here are the exact keystrokes I’m using: (Cells with text: A1, A3, A5, A7. Cells that are apparently empty: A2, A4, A6.)
    Into B1, I enter: =substitute(A1,char(160),””)
    I select B1:B10 and “fill down”
    Keeping B1:B10 selected, I “copy” “paste values” over the A column.
    Then I try “go to special” “formulas” ok. (No formulas found.) “Go to special” “blanks” ok doesn’t work either.
    Here is the link to what I copied: http://www.atpworldtour.com/en/score...580/1969/draws

    The file I attached has two tabs. One has the data as copied from atpworldtour and the other is what the sheet looks like after I apply my macro. Thanks again.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Invisible cell content

    I re-wrote the macro that somehow caused the problem. No more invisible cell content.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Invisible cell content

    Awesome, Im happy you got this resolved, and thanks for the feedback

+ 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. [SOLVED] How to autofill a column with a cell content depending on content in another cell.
    By lul1971 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-17-2012, 12:33 PM
  2. copying cell content into a specific workbook based on the content in that cell
    By krishna reddy in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2012, 03:52 AM
  3. [SOLVED] Highlight a cell if its content doesn't match another cells content
    By noxygen in forum Excel General
    Replies: 4
    Last Post: 04-12-2012, 04:36 AM
  4. Make a cell's content invisible by not using Macro
    By CanadaDBA in forum Excel General
    Replies: 1
    Last Post: 01-06-2012, 03:00 PM
  5. Copying invisible columns, but not invisible rows
    By petalred in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2008, 11:17 AM
  6. Replies: 2
    Last Post: 12-19-2006, 10:50 PM
  7. [SOLVED] Invisible graph content
    By Bas in forum Excel General
    Replies: 0
    Last Post: 06-20-2006, 06:35 AM
  8. What is invisible in a cell?l
    By Kanga 85 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-23-2005, 04:06 PM

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