Solved

Print "

Posted on 1998-09-17
4
165 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
Comment Utility
use """"
0
 
LVL 12

Expert Comment

by:mark2150
Comment Utility
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
Comment Utility


Hi, I use mark2150 method.



0
 
LVL 2

Author Comment

by:s_lavie
Comment Utility
I liked more mark2150 comment!!!
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now