Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting
Is it possible to create a macro that deletes the workbook
it's saved in ? |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Deleting
Tessa,
Try the following code: With ThisWorkbook .Saved = True .ChangeFileAccess xlReadOnly Kill .FullName .Close savechanges:=False End With -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "Tessa" wrote in message ... Is it possible to create a macro that deletes the workbook it's saved in ? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Deleting the text without deleting the formula | Excel Worksheet Functions | |||
Deleting cell data without deleting formula | Excel Discussion (Misc queries) | |||
deleting values in a worksheet without deleting the formulas | Excel Worksheet Functions | |||
how prevent formula in cell from deleting when deleting value???? | New Users to Excel | |||
Deleting Hyphens or Dashes from multiple cells without deleting the remaining content | Excel Programming |