Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Why does the following code produce an error 13 (Excel 2007) after the sheet
is deleted and when the end function statement is executed? Public Function SheetDelete(varSheet As Variant) As Boolean ' var sheet is the sheet object to delete, not the index or name SheetDelete = varSheet.Delete End Function The sheet is deleted but the runtime error occurs. The function returns the correct value of the delete. Any thoughts would help. -- WEW |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
error runtime 9: deleting a worksheet | Excel Programming | |||
Set worksheet range runtime error 1004 | Excel Programming | |||
getting runtime error when trying to delete records | Excel Programming | |||
runtime error '1004' delete Method of Range Class Failed | Excel Programming | |||
runtime error '1004' delete Method of Range Class Failed | Excel Programming |