ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Modules (https://www.excelbanter.com/excel-programming/315734-modules.html)

Rich

Modules
 
I am trying to write a piece of VBA code that takes a copy of a workbook,
then deletes the module from the copy before e-mailing itself to someone.

I can do everything except delete the module.

Can anyone tell me how to delete "Module1" from workbook using VBA.


All times are GMT +1. The time now is 09:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com