Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
luc luc is offline
external usenet poster
 
Posts: 15
Default cell to file

If I print a value of a cell to a file, there will be quotes in the file.
How to get rid of the quotes?


  #2   Report Post  
Posted to microsoft.public.excel.programming
luc luc is offline
external usenet poster
 
Posts: 15
Default cell to file

write some value or value of a variable to a file


"NickHK" schreef in bericht
...
luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in the

file.
How to get rid of the quotes?






  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default cell to file

luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in the file.
How to get rid of the quotes?




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default cell to file

luc,
Using what code ?

NickHK

"luc" wrote in message
...
write some value or value of a variable to a file


"NickHK" schreef in bericht
...
luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in the

file.
How to get rid of the quotes?








  #5   Report Post  
Posted to microsoft.public.excel.programming
luc luc is offline
external usenet poster
 
Posts: 15
Default cell to file

Write #1, "UR :" & output_str1


"NickHK" schreef in bericht
...
luc,
Using what code ?

NickHK

"luc" wrote in message
...
write some value or value of a variable to a file


"NickHK" schreef in bericht
...
luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in the

file.
How to get rid of the quotes?












  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 863
Default cell to file

If you look at the documentation for WRITE, you'll see it *always* adds quotes
around text. If you read it carefully, you'll also see a reference to the
PRINT # function, and PRINT # is also listed when you click the "See also"
link. That is the command you need; but if you are writing more than one item
on a line, you'll have to add the delimiters between items yourself, in your
code.

On Tue, 16 Nov 2004 12:51:33 GMT, "luc" wrote:

Write #1, "UR :" & output_str1


"NickHK" schreef in bericht
...
luc,
Using what code ?

NickHK

"luc" wrote in message
...
write some value or value of a variable to a file


"NickHK" schreef in bericht
...
luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in the
file.
How to get rid of the quotes?










  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default cell to file

Use Print # instead of Write #. See VBA help for details.

--
Regards,
Tom Ogilvy

"luc" wrote in message
...
Write #1, "UR :" & output_str1


"NickHK" schreef in bericht
...
luc,
Using what code ?

NickHK

"luc" wrote in message
...
write some value or value of a variable to a file


"NickHK" schreef in bericht
...
luc,
Depends on how you are "printing a value of a cell to a file" ??

NickHK

"luc" wrote in message
...
If I print a value of a cell to a file, there will be quotes in

the
file.
How to get rid of the quotes?












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
import file so that it is a actual csv file, no excel cell version broncoburt New Users to Excel 1 November 21st 09 09:09 PM
Linking to another file using file reference typed cell Steven Excel Worksheet Functions 3 April 5th 08 03:15 AM
Is it possible to link cell formatting in Excel from file to file KimW Excel Discussion (Misc queries) 4 August 17th 06 07:03 PM
when inserting a file name in a cell how do you remove file type mikecarpenter21 Excel Worksheet Functions 1 August 3rd 06 05:42 PM
Saving a file(new) using the multiple cell contents as a file name Dave Peterson[_3_] Excel Programming 1 August 1st 03 01:40 PM


All times are GMT +1. The time now is 01:58 PM.

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"