Solved

Print "

Posted on 1998-09-17
4
171 Views
Last Modified: 2010-04-30
How ca I print the char  "   (to a file)?
0
Comment
Question by:s_lavie
[X]
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
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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
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…
Suggested Courses
Course of the Month5 days, 23 hours left to enroll

627 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