Remove Duplicate Macros

gtd526

Well-known Member
Joined
Jul 30, 2013
Messages
657
Office Version
  1. 2019
Platform
  1. Windows
Hello,

Can you delete duplicate Macro's from a Module using a macro?
I want to delete duplicate macros using the "Macro Name", except for 1, I need 1 to perform.
I have many Modules. I can change the "Module Name" needed for the code.
If I delete all duplicates in one shot, I won't know which ones were deleted, which will effect "buttons" I have to perform certain Macros.
I can change the VBAProject (Worksheet Name) to determine where the Modules are located, if needed.

Thank you.
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
My suggestion is to manage your macros manually. any deletions by a macro are permanent and cannot be undone with the 'Undo' button.
 
Upvote 0
Solution
My suggestion is to manage your macros manually. any deletions by a macro are permanent and cannot be undone with the 'Undo' button.
Thank you. Is there a way to List Macros? It will take a while to view and list them all.
 
Upvote 0
Thank you. Is there a way to List Macros? It will take a while to view and list them all.
I found a solution. This Macro will list procedures and macros.
It creates a workbook with the listings.
 
Upvote 0
Thanks for the feedback.
Regards, JLG
 
Upvote 0

Forum statistics

Threads
1,215,054
Messages
6,122,895
Members
449,097
Latest member
dbomb1414

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top