+ Reply to Thread
Results 1 to 4 of 4

TextBox carriage return displays question mark in box when saved as PDF

  1. #1
    Registered User
    Join Date
    11-18-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    TextBox carriage return displays question mark in box when saved as PDF

    Hi,

    I have TextBoxes that are multiline enabled. When a textbox that includes carriage returns is loaded to a worksheet cell it looks fine. But, when saved as a PDF it has a question mark in a box for each carriage return.

    Is there a way for these boxes to not be visible in a PDF?

    I notice that if I add a carraige return in a cell directly (using Alt + Enter) and save as a PDF, there are no boxes on the PDF. It is only when I add a carriage return in a TextBox (using Ctrl + Enter) that it happens. Is it a formatting issue?

    Thanks in advance.

    NOTE: I'd include a screen shot, but I get a 407 error when I try to use Insert Image.

  2. #2
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: TextBox carriage return displays question mark in box when saved as PDF

    Hi nickwoowoo

    Chr(10) = linefeed
    Chr(13) = Carriage return

    The following all give a new line - do any of them work for you?

    Please Login or Register  to view this content.
    Regards
    Alastair

  3. #3
    Registered User
    Join Date
    11-18-2013
    Location
    Australia
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: TextBox carriage return displays question mark in box when saved as PDF

    Hi aydeegee,

    Thanks for your reply,

    They all gave the same result. To clarify, the carriage returns/new lines are on the PDF, but there is a question mark in a box at the end of each line.

    Regards,

    nickwoowoo.

  4. #4
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: TextBox carriage return displays question mark in box when saved as PDF

    Hi nickwoowoo

    Yes, I understood the situation, I just hoped that one of the different codes might give no question mark in a box. Sorry it did not work

    Regards
    Alastair

+ 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. UserForm TextBox occasionally displays tiny, unreadable text
    By yay_excel in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 11-08-2013, 05:07 PM
  2. Replies: 17
    Last Post: 01-12-2013, 11:31 AM
  3. VBA Textbox - removing Carriage returns
    By madbloke in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-12-2013, 02:04 AM
  4. Carriage Return
    By hezcal1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2012, 09:27 AM
  5. Tab Carriage Return
    By WhtKnt in forum Excel General
    Replies: 5
    Last Post: 01-05-2011, 05:00 PM

Tags for this Thread

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