![]() |
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? |
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? |
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? |
All times are GMT +1. The time now is 11:58 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com