Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am having trouble deleting modules. I am used to this working, even
though it looks like I am deleting worksheets and not modules. It does not work, however, on new program/computer, for some reason: Sheets(Array("module2", "module3")).Delete These 2 do not work either: Modules(Array("module2", "module3")).Delete WorkSheets(Array("module2", "module3")).Delete I have tried Chip Pearson's routine, but couldn't get it to work, either. "Programmatic access to Visual Basic Project is not trusted" is what I get. Does anyone know of a way to simply delete modules? Thanks, Mike Allen |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming | |||
Macro to delete sheets and saves remaining file does not properly delete module | Excel Programming |