Print "

Posted on 1998-09-17
Last Modified: 2010-04-30
How ca I print the char  "   (to a file)?
Question by:s_lavie
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 15

Accepted Solution

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

Expert Comment

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



Expert Comment

ID: 1435487

Hi, I use mark2150 method.


Author Comment

ID: 1435488
I liked more mark2150 comment!!!

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Zip Folders Using Chilkat Routines 1 87
Export Data to Different .csv Files 27 133
VBA: Insert New column with specific format type 12 57
transition to visual .net from vb6 5 81
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
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.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

710 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