Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HowTo erase a excel's file (*.xls)??

Status
Not open for further replies.

kiramoto

Programmer
May 13, 2002
9
BR
I working on a application where I have to create an Excel file and then erase the same file.
I know how to create this, but I don't have any idea how to erase.
Can anyone help me???
Thanks in advance,
 
I create a refrence to the file system using the FIleSystemObject (referenced via the MS Scripting Runtime). With this object you can create/open/write/delete files anywhere within the filesystem. Works very well for me.

hth
msc
 
the basic vb statment is

kill "c:\dirname\...\filename.ext"
Good Luck
--------------
As a circle of light increases so does the circumference of darkness around it. - Albert Einstein


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top