Solved

Print "

Posted on 1998-09-17
4
168 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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

713 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