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: 63
Default file append & opposite #2

Group,

I've written some VBA code to add some data to a file using something
similar to:

open "c:\temp\junk.txt" for append as #1

I now wish to write some code to remove this data.

Example: The file starts out as 23,847 bytes and my macro makes it 23,857
bytes. What code would move the EOF up ten bytes restoring the file as it
originally was?

Thanks in advance,

Christmas
 
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
Append text file Jeff Excel Discussion (Misc queries) 6 October 8th 07 05:56 PM
File Append & Opposite Christmas May[_2_] Excel Programming 0 November 30th 05 05:33 AM
append file on e-mail Sylvian[_9_] Excel Programming 0 September 7th 05 07:57 PM
append file on e-mail Sylvian Excel Discussion (Misc queries) 0 September 7th 05 07:23 PM
File Append Row by Cell value Djmask[_8_] Excel Programming 3 August 22nd 05 04:37 AM


All times are GMT +1. The time now is 08:57 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"