Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Visual Basic Problem with Chr(34)

Did you read the help on the write command. This is essentially advertised
behavior:

From help:

Unlike the Print # statement, the Write # statement inserts commas between
items and quotation marks around strings as they are written to the file.
You don't have to put explicit delimiters in the list. Write # inserts a
newline character, that is, a carriage return-linefeed (Chr(13) + Chr(10)),
after it has written the final character in outputlist to the file.

You probably want to use print rather than write.



Regards,

Tom Ogilvy





"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




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Is Visual Basic the same as Visual Studio 2008? Mike Stewart Excel Worksheet Functions 5 January 11th 09 04:58 PM
Printing with Visual Basic Editor Problem Meader Excel Discussion (Misc queries) 3 May 30th 07 08:55 PM
changing the visual basic in office 2003 to visual studio net bigdaddy3 Excel Discussion (Misc queries) 1 September 13th 05 10:57 AM
Visual Basic Help Wizard/Index problem, can't get cursor HelpNeeded Excel Discussion (Misc queries) 3 March 4th 05 03:46 AM
Visual Basic Problem with Chr(34) Chip Pearson Excel Programming 0 August 6th 03 01:16 PM


All times are GMT +1. The time now is 05:25 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"