ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBA code to delete VBA code in another Workbook (https://www.excelbanter.com/excel-programming/277046-re-vba-code-delete-vba-code-another-workbook.html)

Chip Pearson

VBA code to delete VBA code in another Workbook
 
See www.cpearson.com/excel/vbe.htm for some examples.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
www.cpearson.com



"Newboy18" wrote in message
...
On my Excel Sheet I have a Commandbutton that is used to
create a reduced copy of this workbook, it removes some
rows and the Commandbuttons, then saves it.
The problem is the new workbook looks fine, the rows and
Command buttons have gone but the VBA code is still there.
Is there VBA code that can delete this code ?





All times are GMT +1. The time now is 07:28 AM.

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