Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
What would be the code to delete a workbook located here
C:\temp\Workbook.xls Thanks, Barb Reinhardt |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
make sure the workbook is closed
Kill "C:\temp\Workbook.xls" -- regards, Tom Ogilvy "Barb Reinhardt" wrote: What would be the code to delete a workbook located here C:\temp\Workbook.xls Thanks, Barb Reinhardt |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() kill "C:\temp\Workbook.xls" In article , Barb Reinhardt wrote: What would be the code to delete a workbook located here C:\temp\Workbook.xls Thanks, Barb Reinhardt |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#5
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
needs quotes around the argument.
In article , Gary Brown wrote: Kill C:\temp\Workbook.xls |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Barb,
You can use the Kill method to permanently and completely delete the file: Kill "C:\Temp\Workbook.xls" Note that Kill does NOT send the file to the Recycle Bin. The file is gone forever. If you want to recycle the file, see http://www.cpearson.com/excel/recycle.htm . -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting LLC www.cpearson.com (email on the web site) "Barb Reinhardt" wrote in message ... What would be the code to delete a workbook located here C:\temp\Workbook.xls Thanks, Barb Reinhardt |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
deleting workbook | New Users to Excel | |||
Deleting Workbook from others | Excel Worksheet Functions | |||
Deleting workbook | Excel Programming | |||
Deleting workbook | Excel Programming | |||
Deleting Workbook | Excel Programming |