Consulting

Results 1 to 6 of 6

Thread: Tool to clean up VBA code

  1. #1

    Tool to clean up VBA code

    Hi guys,

    firstly, not sure if this is in the right place, so apologies if it is not.

    Can anyone recommend a tool or something to tidy up VBA code?

    Cheers

    Ant

  2. #2
    VBAX Sage
    Joined
    Apr 2007
    Location
    United States
    Posts
    8,729
    Location
    http://www.appspro.com/Utilities/CodeCleaner.htm


    This will clean the code, and I think will do a little reformatting

    Are you looking for a 'pretty print' tool?

    Paul

  3. #3
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    Depends upon what you men by clean-up.

    If you want it to remove code bloat, Code Cleaner is the tool. If you want it to indent your code, Smart Indenter will do it. If you want it to take your rubbish code (No criticism, my code is rubbish too), and turn it into some readable and maintainable code, dream on .
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  4. #4
    By 'pretty print' tool - do you refer to something that will format the code correctly? if so, yes

    by Clean-up - i mean merely to format i.e. indenting etc - Do you ahve a link for Smart Indenter?

  5. #5
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

  6. #6
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Quote Originally Posted by xld
    ... If you want it to take your rubbish code (No criticism, my code is rubbish too), and turn it into some readable and maintainable code, dream on .
    Too funny Bob

Posting Permissions

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