Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Deleting Excel macro throught VB6
Message
 
À
01/10/2005 05:30:45
Rahul Murarka
Sys-Con Engineering
Kolkata, Inde
Information générale
Forum:
Microsoft Office
Catégorie:
Excel
Divers
Thread ID:
01055208
Message ID:
01055511
Vues:
14
Probably you can use DeleteLines method:

Application.VBE.ActiveVBProject.VBComponents("Module1").CodeModule.DeleteLines

But there us a macro security level settings that may prevent running this code for particular user. She/he should deliberately set the security level manually from the application.



>Dear Sir,
>
>I have some macros created in Excel Sheet .
>
>I am using VB6 to control the Excel sheet. After running the macros in excel sheet . I want to delete it . Please help how to delete the Excel Macros throught VB6
>
>Thanks
>
>Rahul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform