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: 28
Default Deleting a file, created by macro

Hi All............

I open my Main WorkBook, then run a macro to create a secondary file, copy
some values to it, and save it to disk. Then, as the macro continues, it
emails this secondary file to my Customer... This all works fine, thanks
mainly to much help from you fine folks. Now to my current
problem.......I want to name that file with intelligence, like
WorkOrder1938, rather than some generic name that the customer will not
recognize. I then want to DELETE that file from my hard drive before
finishing up the macro.

I need the code please to delete a file named WorkOrder1938.xls from my hard
drive, if possible.

TIA
Vaya con Dios,
Chuck, CABGx3





 
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
Deleting a file via a macro Sarah at DaVita Excel Discussion (Misc queries) 5 October 6th 08 10:43 PM
Datestamping a file created by a macro michaelberrier Excel Discussion (Misc queries) 2 June 1st 06 12:41 AM
How to stop file open macro prompt after deleting all macros? twor57 Excel Worksheet Functions 2 November 29th 05 05:00 PM
After deleting a macro, I still get the pop-up when opening file Anne Excel Worksheet Functions 2 December 8th 04 05:31 PM
Macro to run when file is created from a template Jim Birch Excel Programming 2 February 19th 04 03:33 AM


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