Results 1 to 3 of 3
  1. #1
    snipe's Avatar
    snipe is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    287

    Deleting unused subs

    Quick question for the experts on here.



    While building a program, a bunch of subs get created, and then the control gets removed, or the event is never used.

    Is it smart/needed to delete all of those unused subs? Or does it not matter at all?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    It would be better to remove the subs and then Compact and Repair. The file will be smaller and faster.

  3. #3
    snipe's Avatar
    snipe is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    287
    Gotcha. Appreciate it!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Deleting query
    By drunkenneo in forum Programming
    Replies: 3
    Last Post: 07-05-2013, 08:06 AM
  2. Queries for determining unused amounts of assets/cash
    By Long Tom Coffin in forum Queries
    Replies: 8
    Last Post: 07-05-2012, 01:38 PM
  3. Creating/Using Public Subs
    By sparlaman in forum Programming
    Replies: 3
    Last Post: 05-19-2011, 03:29 PM
  4. Replies: 11
    Last Post: 12-14-2010, 01:25 PM
  5. deleting records
    By radicalrik in forum Queries
    Replies: 2
    Last Post: 07-14-2010, 03:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums