Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Programmatically delete macro using a protected project

Can anyone give some help. I have created several projects that
perform similar functions using a .xla file. I have written a macro
that deletes all data from one file when I'm ready to start a new job.
One of the things I need it to do is delete a macro. I am writing
the macro in my add-in, but I want it to delete a macro named
"performParse" from the module 'parse' in the active workbook.

The active workbook isn't protected, but the code in the add-in is
protected.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 634
Default Programmatically delete macro using a protected project

Try here for pointers:-

Programming To The Visual Basic Editor
http://www.cpearson.com/excel/vbe.htm

--
Regards
Ken....................... Microsoft MVP - Excel
Sys Spec - Win XP Pro / XL 97/00/02/03

----------------------------------------------------------------------------
It's easier to beg forgiveness than ask permission :-)
----------------------------------------------------------------------------



"John Cole, Jr." wrote in message
om...
Can anyone give some help. I have created several projects that
perform similar functions using a .xla file. I have written a macro
that deletes all data from one file when I'm ready to start a new job.
One of the things I need it to do is delete a macro. I am writing
the macro in my add-in, but I want it to delete a macro named
"performParse" from the module 'parse' in the active workbook.

The active workbook isn't protected, but the code in the add-in is
protected.



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.789 / Virus Database: 534 - Release Date: 07/11/2004


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Assigning the Help 4, *.HLP file for a project programmatically in a protected Project Tony Seiscons Excel Programming 0 October 4th 04 03:10 PM
How to programmatically check if a workbook is protected t? uno@korsmaa Excel Programming 2 September 15th 04 09:23 PM
delete row programmatically Pat Excel Programming 2 September 2nd 04 09:11 PM
Accesing vba project from wb that has vba project password protected cassidyr1 Excel Programming 2 July 3rd 04 01:49 PM
VBA - Programmatically Change VBA Project Password Glen[_2_] Excel Programming 1 September 2nd 03 05:36 PM


All times are GMT +1. The time now is 03:15 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"