ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Modules (https://www.excelbanter.com/excel-programming/315733-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.

Ivan F Moala[_41_]

Modules
 

Have a look @ Chips Site

http://www.cpearson.com/excel/vbe.ht

--
Ivan F Moal

-----------------------------------------------------------------------
Ivan F Moala's Profile: http://www.excelforum.com/member.php...nfo&userid=195
View this thread: http://www.excelforum.com/showthread.php?threadid=27515



All times are GMT +1. The time now is 12:13 PM.

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