• Clearing cells containing zero-length strings (Excel 2000 and higher)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Clearing cells containing zero-length strings (Excel 2000 and higher)

    Author
    Topic
    #482272

    I have a block of data created by a report from an external SAP system, and within that block are certain cells containing zero-length strings.

    I need to clear those cells ready for import into another system. I know that I can do this with a macro, by writing something like this:

    if cell.value = “” then cell.ClearContents

    but is there a method via the user interface that does not rely on macros?

    Trying a Goto, special, blank cells doesn’t work because the cells aren’t truly blank to begin with!

    Any ideas?

    Jeremy

    Viewing 0 reply threads
    Author
    Replies
    • #1325747

      Jeremy:

      If the data in the cells not having “zero length strings” are all formulas and/or numbers you could use GO TO Special – Select Constants – Select “Text” only.

      This should select only the cells with zero length strings since they are not blank and they are not formulas / numbers.

      If the other data is Text the above will not work.

      Good Luck.

      TomD

    Viewing 0 reply threads
    Reply To: Clearing cells containing zero-length strings (Excel 2000 and higher)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: