• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 501
  • Last Modified:

How do I keep the VBNewLine symbol from showing up?

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?
EXAMPLE:
00 Functional Fault Analysis

[]01 Operational Flow Analysis

[]02 Advance Sensor Developemnt


0
mmtcunningham1
Asked:
mmtcunningham1
1 Solution
 
jobrienctCommented:
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?
0
 
mmtcunningham1Author Commented:
yes, vbscript
0
 
RobSampsonCommented:
Instead of adding vbNewLine, try either just vbCr or vbLf.

One of those should prevent the symbol from appearing.

Regards,

Rob.
0
 
crshekharamCommented:
use vbcrlf
(carriage return and linefeed)
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now