Count all lines of program code in MS Access database
Posted on 2014-09-11
I would like to know how many lines of VBA program code is contained in my Access 2010 database.
I suppose the best way to do this is to export all code into MS Word and let Word count the number of paragraphs. It would take a while to manually open every module, form, and report to copy and paste the code into MS Word.
Is there a way to automate exporting all the program code--or to simply count the number of lines of code?
By the way, if I put the code into MS Word, I will delete all the blank lines before counting.