Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deleting Excel macro throught VB6
Message
 
To
01/10/2005 05:30:45
Rahul Murarka
Sys-Con Engineering
Kolkata, India
General information
Forum:
Microsoft Office
Category:
Excel
Miscellaneous
Thread ID:
01055208
Message ID:
01055511
Views:
10
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
Previous
Reply
Map
View

Click here to load this message in the networking platform