+ Reply to Thread
Results 1 to 5 of 5

Thread: Question mark character?

  1. #1
    Registered User
    Join Date
    11-10-2011
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Question Question mark character?

    Hello...

    I am posting for the first time and hoping for some insight regarding an issue. I have an input file from a client formatted as an "xls" file. My company's application takes that file and processes it in order to return some additional information. We generate an output file that first just parrots back the input columns provided by the client. Generally that's a no brainer, but this time all of those cells have a little character after the text. I just tried to copy it here but it doesn't work. It's a little black diamond with a white question mark in it.

    I don't know if it's a special hidden character. If so, I don't know how to get rid of it. It does not display in my input file.

    I cannot return the file to the customer this way. Does anyone have any knowledge about this?

  2. #2
    Forum Guru pike's Avatar
    Join Date
    12-11-2005
    Location
    Alstonville, Australia
    MS-Off Ver
    2010
    Posts
    5,150

    Re: What's this silly little question mark character?

    Hi JoanneC,
    you will find that the are new line markers
    "Alt" + "Enter"
    which splits data up in a cell into new line within the cell
    regards pike

    If the solution helped please donate
    here to the RSPCA

    Sites worth visiting;

    J&R Solutions - royUK

    AJP Excel Information - Andy Pope

    Spreadsheet Toolbox

    VBA for smarties - snb

  3. #3
    Registered User
    Join Date
    11-10-2011
    Location
    Mpls, MN
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: What's this silly little question mark character?

    Wow!! I am so glad to know that. So can I turn them off or make them not visible like paragraph and space indicators in Word? If I send the file with them visible, will they also be visible to the client?

    Thanks so much for your help!

  4. #4
    Forum Guru NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    32,636

    Re: What's this silly little question mark character?

    See here...http://en.wikipedia.org/wiki/Unicode...ment_character

    It seems to be an unknown character.. You may need to fix the text in the file before importing into excel
    Microsoft MVP - Excel

    Where there is a will there are many ways. Pick One!


    Please read the Forum Rules

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

    Preferred Charities: Lupus Canada and Sick Kids Foundation.
    Feel Free to Donate if you want to, for the assistance you received today.

  5. #5
    Forum Guru jaslake's Avatar
    Join Date
    02-21-2009
    Location
    mineral city, ohio
    MS-Off Ver
    Excel 2007; Excel 2000
    Posts
    4,003

    Re: What's this silly little question mark character?

    Hi JoanneC
    I've used this code in the past to "clean" non-printable characters...see if it works for you. Specify in the code the column(s) you wish to "clean".
    Option Explicit
    Sub CleanData()
        Dim LR As Long
        Dim i As Long
        Application.ScreenUpdating = False
     
        With ThisWorkbook.ActiveSheet
         LR = Range("A" & Rows.Count).End(xlUp).Row
            For i = 1 To LR
                .Cells(i, 1).Value = Application.Clean(.Cells(i, 1).Value) 'Clean Column A
            Next i
        End With
     
        With ThisWorkbook.ActiveSheet
          LR = Range("B" & Rows.Count).End(xlUp).Row
            For i = 1 To LR
                .Cells(i, 2).Value = Application.Clean(.Cells(i, 1).Value) 'Clean Column B
            Next i
        End With
     
        With ThisWorkbook.ActiveSheet
           LR = Range("C" & Rows.Count).End(xlUp).Row
            For i = 1 To LR
                .Cells(i, 3).Value = Application.Clean(.Cells(i, 1).Value) 'Clean Column C
            Next i
        End With
        Application.ScreenUpdating = True
    End Sub
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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.2.0