Avatar of grahampe
grahampe

asked on 

Placing a " as text

Hi this iss probably a simple question for most of you but I am trying to get this symbol to show up as text.
eg. "text" but I want to show this " " "
Any suggestions.
Visual Basic Classic

Avatar of undefined
Last Comment
FaustE
ASKER CERTIFIED SOLUTION
Avatar of FaustE
FaustE

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of avinash_sahay
avinash_sahay

Use """text"""

Please note there are three double quotes both before and after text.
Example: msgbox """text"""

This will display "text" (with double quotes)
Avatar of grahampe
grahampe

ASKER

Comment accepted as answer
Avatar of grahampe
grahampe

ASKER

Thank you right on the dial.
Avatar of FaustE
FaustE

Any time.  If you've got some time you might want to look in your Visual Basic Help under "ASCII character set" and then "ASCII character set (0 - 127)" or "ASCII character set (128 - 255)", there's all kinds of good stuff.

I have found chr(169) is great for creating a Copyright symbol on your splash screen or Help About form.

I will Add a Label called lblCopyright to a form.  And then on the Form Load event I will add:
lblCopyright.Caption = "Copyright " & chr(169) & " 2000 Company Name"

Glad I could be of help.
Visual Basic Classic
Visual Basic Classic

Visual Basic is Microsoft’s event-driven programming language and integrated development environment (IDE) for its Component Object Model (COM) programming model. It is relatively easy to learn and use because of its graphical development features and BASIC heritage. It has been replaced with VB.NET, and is very similar to VBA (Visual Basic for Applications), the programming language for the Microsoft Office product line.

165K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo