+ Reply to Thread
Results 1 to 4 of 4

annoying "invisible" value in cell

  1. #1
    Registered User
    Join Date
    10-11-2006
    Posts
    51

    annoying "invisible" value in cell

    Hi there

    When the server generates csv files for the data I requested, I think it inserts "invisible" values in between each section, and that causes

    Columns("a:a").SpecialCells(xlCellTypeConstants, 3).areas.count = 1

    I suspect it could be cr/lf or how unix does cr/lf vs dos.

    Any ideas how I can make those blank rows really "blank" ?
    Last edited by saimike; 11-01-2011 at 12:22 PM.

  2. #2
    Forum Expert
    Join Date
    10-10-2008
    Location
    Northeast Pennsylvania, USA
    MS-Off Ver
    Excel 2007
    Posts
    2,387

    Re: annoying "invisible" value in cell

    saimike,

    Can we have a sample of your workbook/worksheet?


    To get the most precise answer, it is best to upload/attach a sample workbook (sensitive data scrubbed/removed/changed) that contains an example of your raw data on one worksheet, and on another worksheet your desired results.

    The structure and data types of the sample workbook must exactly duplicate the real workbook. Include a clear and explicit explanation of your requirements.

    To attach your workbook, click on the New Post button, then scroll down and click on the Go Advanced button, then scroll down and click on the Manage Attachments button.
    Have a great day,
    Stan

    Windows 10, Excel 2007, on a PC.

    If you are satisfied with the solution(s) provided, please mark your thread as Solved by clicking EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

  3. #3
    Forum Expert snb's Avatar
    Join Date
    05-09-2010
    Location
    VBA
    MS-Off Ver
    Redhat
    Posts
    5,649

    Re: annoying "invisible" value in cell

    The txt files contain vbCrLf to mark rows.
    If you import these files you should take that into account.
    Please show us which import-routine you use. There will be the problem I suppose.



  4. #4
    Registered User
    Join Date
    10-11-2006
    Posts
    51

    Re: annoying "invisible" value in cell

    Hey guys, thanks for the advice. Unfortunately, the csv files contain proprietary data so I can't post them and truncating/changing them could potentially remove any cr/lf that's causing the problem.

    For the time being, I'm using another col to work-around the issue.

+ 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