Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
hi there
How do I output to the same position in a Text file everytime? I want to dump data for a given Date so I'd like to put it in the same row for that Date everytime, and so overwrite the existing data in that row? thank you Bernard. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I think you are going to have to tell us the structure of that text file
(how it is laid out) before we can begin to guess at what needs to be done. -- Rick (MVP - Excel) "Bernard" wrote in message ... hi there How do I output to the same position in a Text file everytime? I want to dump data for a given Date so I'd like to put it in the same row for that Date everytime, and so overwrite the existing data in that row? thank you Bernard. |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Rick
I use the following command: Write #10, dateline, variable1, variable2, variable3 'where dateline is today's date in excel date code. Write #10, dateline+1, variable1, variable2, variable3 'where dateline +1 is tomorrow's date in excel date code. I drop into the file at the row corresponding to today's date e.g. row 40010. I want to be able to open my text file, overwrite the existing data in that file for the row corresponding to today's date. Is it possible to write to a specific row in a text file..... thanking you Bernard "Rick Rothstein" wrote: I think you are going to have to tell us the structure of that text file (how it is laid out) before we can begin to guess at what needs to be done. -- Rick (MVP - Excel) "Bernard" wrote in message ... hi there How do I output to the same position in a Text file everytime? I want to dump data for a given Date so I'd like to put it in the same row for that Date everytime, and so overwrite the existing data in that row? thank you Bernard. . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
output to the same line in a Text file? | Excel Discussion (Misc queries) | |||
How to force column formatting (text, date, etc) when loading a fixed width text file into an array? | Excel Programming | |||
Fixed length text file | Excel Discussion (Misc queries) | |||
Open CSV file, format data and write output to a text file. | Excel Programming | |||
Output color to a text (rtf) file | Excel Programming |