• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 497
  • 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

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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