Solved

Print "

Posted on 1998-09-17
4
167 Views
Last Modified: 2010-04-30
How ca I print the char  "   (to a file)?
0
Comment
Question by:s_lavie
4 Comments
 
LVL 15

Accepted Solution

by:
Eyal earned 10 total points
ID: 1435485
use """"
0
 
LVL 12

Expert Comment

by:mark2150
ID: 1435486
A double quote is CHR(34) so PRINT CHR(34) will give a " in your file. This is easier and clearer than """. I usually define Quote = CHR(34) and then your code will read:

PRINT Quote & "This text in quotes" & Quote

M

0
 
LVL 3

Expert Comment

by:a111a111a111
ID: 1435487


Hi, I use mark2150 method.



0
 
LVL 2

Author Comment

by:s_lavie
ID: 1435488
I liked more mark2150 comment!!!
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

825 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