Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 54
Default How do you delete an exported file from a directory

I want to delete an RDF text file that I export from Excel which is in the
same directory as the Excel spreadsheet. In the beginning of the program, I
want to delete this file so that it doesn't accidentally append new
information. How do I delete this file using code?
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default How do you delete an exported file from a directory

Look at the Kill command in VBA help.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Brett Smith" wrote in message
...
I want to delete an RDF text file that I export from Excel which is in the
same directory as the Excel spreadsheet. In the beginning of the program,

I
want to delete this file so that it doesn't accidentally append new
information. How do I delete this file using code?



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,316
Default How do you delete an exported file from a directory

Use the command Kill "FullpathAndFilename"
--
Kevin Backmann


"Brett Smith" wrote:

I want to delete an RDF text file that I export from Excel which is in the
same directory as the Excel spreadsheet. In the beginning of the program, I
want to delete this file so that it doesn't accidentally append new
information. How do I delete this file using code?

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
How do I remove auto filters from a file I exported out of Salesfo SusanM Excel Worksheet Functions 0 May 7th 09 06:18 PM
VBE References Missing from Exported File Stratuser Excel Programming 2 April 25th 05 04:59 PM
why are there quotes in my exported text file? Gordon Excel Discussion (Misc queries) 2 February 16th 05 06:59 PM
Can an excel XP 2003 file be exported to an Access mdb file if so how? No Name Excel Programming 0 October 22nd 04 04:43 AM
Can worksheet data be exported/imported to/from flat file? Joseph Geretz Excel Programming 4 November 28th 03 09:12 AM


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