Sub DeleteVBACodeFromWorkbook( _
wb As Workbook _
vbc As VBComponent
For Each vbc In wb.VBProject.VBComponents
If vbc.Type <> vbext_ct_Document Then
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.
Notify me of follow-up comments by email.
Notify me of new posts by email.