LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default need to add string to txt file

Hey!

need to write "//" to the end of a last string of a simple txt file.

dim nf as integer

nf = freefile

open lpfilename for binary access write as nf
put nf, LOF(nf), "//"
close nf

but there is an uprintable symbol appears between last charcher and "//".
pls advise how this can be avoided. thanks!
 
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
number as string with importing txt file alfred wallace Excel Discussion (Misc queries) 2 April 16th 08 11:51 PM
Setting a string variable as the file name [email protected] Excel Discussion (Misc queries) 1 March 28th 07 11:10 PM
Getting a string of data from a file name Stephen King Excel Worksheet Functions 2 July 25th 06 11:57 AM
Return file from a path string Bob Phillips[_6_] Excel Programming 0 August 23rd 05 06:16 PM
Stripping Path from File String Nigel[_6_] Excel Programming 15 February 26th 04 06:35 AM


All times are GMT +1. The time now is 03:30 AM.

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

About Us

"It's about Microsoft Excel"