How do I keep the VBNewLine symbol from showing up?

Posted on 2009-12-21
Last Modified: 2012-05-08
I have a string that I'm trying to send to a powerpoint textbox via code.  The string might consist of multiple lines so I'm coding a vbNewLine at the end of the string so that it knows when a new line is starting.  When I open the powerpoint slide, it is showing the lines but it is including a little symbol for the newline.  Is there a way to get this not to show?
00 Functional Fault Analysis

[]01 Operational Flow Analysis

[]02 Advance Sensor Developemnt

Question by:mmtcunningham1
    LVL 10

    Expert Comment

    try just sending "\r" seems to me vbNewLine would be sending \r\n and one of them is getting interpreted while the other is being displayed. Just a hunch without looking further, what language are you using? vbScript?

    Author Comment

    yes, vbscript
    LVL 65

    Accepted Solution

    Instead of adding vbNewLine, try either just vbCr or vbLf.

    One of those should prevent the symbol from appearing.


    LVL 3

    Expert Comment

    use vbcrlf
    (carriage return and linefeed)

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Setting the Scene Animations in PowerPoint are a great tool to convey messages when used carefuly with the content of your slides. There are plenty of animation effects and options, including a Repeat feature for individual animation effects. …
    I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
    The viewer will learn how to edit text. This includes Font, Spacing, Resizing, Color, and other special text options.
    The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now