Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 07-28-2013, 05:07 AM
BobBridges's Avatar
BobBridges BobBridges is offline Empty Modules Windows 7 64bit Empty Modules Office 2010 32bit
Expert
 
Join Date: May 2013
Location: USA
Posts: 700
BobBridges has a spectacular aura aboutBobBridges has a spectacular aura about
Default

If you no longer need the contents of a module you created, then you can use the Remove option in the Project window to delete the whole module, not just the code in it. It'll ask you whether you want to export the code to a text file, first, just as a precaution; you can make your own mind up about that.

And yeah, when you insert code modules, the VB Editor names them Macro1, Macro2 etc by default (you can change those names if you choose). The same when you record a macro; Excel puts each recorded macro in a module with a name like that. So if you're not using those modules any more, you can definitely delete them.

As a general technique, when you're wondering whether you can safely delete something, you can always make a backup of the workbook, then delete the module(s and see what happens. But you're safe in this case.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mirrored Files are Empty sussertown Office 0 04-01-2013 08:21 AM
Empty Modules Empty cells plotted as zero. ColinC Excel 3 03-04-2013 04:57 AM
Apparently empty (blank) cells aren't empty daymaker Excel 3 03-08-2012 03:41 PM
Empty Modules Empty rules rene.kamphuis@ciz.nl Mail Merge 21 04-15-2011 12:34 AM
Populate an empty .PAB file imported_contiw Outlook 2 08-17-2006 08:50 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft