+ Reply to Thread
Results 1 to 3 of 3

Best resource for cleaning up old code?

  1. #1
    Registered User
    Join Date
    08-15-2012
    Location
    Ontario
    MS-Off Ver
    Excel 2021
    Posts
    35

    Best resource for cleaning up old code?

    At my workplace, we have a vba model that has been built over the past 15 years. The people who worked on the model were mostly students that had varying degrees of familiarity with vba, and the result is that much of the code looks like it could be improved (for example, a lot of the code is repeated and could be separated into it's own module, other parts of the code look like they are directly from the macro recorder, etc.). I'm fairly confident in my vba skills and I'd like to clean up the code as best I can. I'm wondering if anyone can recommend books/resources that deal with maintaining/improving legacy code and the best way to approach this? (I saw another thread where someone recommended http://www.refactoring.com/, but it looks like that book doesn't really deal with vba and I'm wondering if there are more recent resources available)

  2. #2
    Forum Expert
    Join Date
    12-24-2007
    Location
    Alsace - France
    MS-Off Ver
    MS 365 Office Suite
    Posts
    5,085

    Re: Best resource for cleaning up old code?

    Crost post
    http://www.mrexcel.com/forum/excel-q...-old-code.html
    - Battle without fear gives no glory - Just try

  3. #3
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2411
    Posts
    26,675

    Re: Best resource for cleaning up old code?

    Thanks PCI.

    jplank, please take the time to review our rules. There aren't many, and they are all important.

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help cleaning up code.
    By dcgrove in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-19-2015, 10:59 AM
  2. How to Hyperlink Resource Drive Auto update for Resource File.
    By Saikrishna12345 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2015, 03:19 AM
  3. Resource management - Rule for resource vs date clashing
    By gwoolley0302 in forum Excel General
    Replies: 1
    Last Post: 07-22-2014, 04:48 AM
  4. [SOLVED] Help with cleaning up code ?
    By james 35 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-04-2013, 06:05 AM
  5. Cleaning up this code
    By toaksie in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-25-2012, 05:50 PM
  6. Need help cleaning up VBA add-in code
    By Jarvoisier in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-03-2011, 05:45 AM
  7. Cleaning up some code?
    By Patrick in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-15-2006, 07:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1