ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Visual Basic Problem with Chr(34) (https://www.excelbanter.com/excel-programming/273669-re-visual-basic-problem-chr-34-a.html)

Chip Pearson

Visual Basic Problem with Chr(34)
 
Bernard,

The Write statement automatically quotes text output strings. Use
Print instead of Write.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"test" wrote in message
...
Hello,

When I write in a file with the command Chr (34) :

===========
txt = Chr (34)
write #1, txt
===========

I've got two double quote instead of only one ...
... like this :
""

Help.

Bernard






All times are GMT +1. The time now is 05:39 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com