Jeff Conrad said:
I created an Access Add-In called the "Albert Kallal Database Statistics"
that does exactly this. The add-in will make a one-page report that lists
the total number of lines of code in Modules, Forms, and Reports (a
sub total for each and a grand total) as well as a count of each other
type of database object (a sub total for each category and a grand total).
Jeff,
I just ran the Statistics report of MzTools and it returns this information:
File-File Type-Code Lines-Comment Lines-Total Lines-Procedures-Controls
Project Group Project Group 1,777 (90%) 205 (10%) 1,982 174 0
test (test.mdb) Project 1,777 (90%) 205 (10%) 1,982 174 0
AddressOf Module 35 35 70 2 0
Form_CalMike VBA Document 216 3 219 56 0
Form_CalMike2 VBA Document 32 7 39 7 0
Form_Dummy VBA Document 15 0 15 2 0
Form_frmAddAppointmentDates VBA Document 26 0 26 1 0
Form_frmCalendar VBA Document 57 0 57 5 0
Form_frmCalendar1 VBA Document 82 0 82 16 0
Form_TestCbo VBA Document 39 2 41 4 0
Form_TestForm VBA Document 41 0 41 5 0
Form_TestFormSub VBA Document 6 0 6 1 0
Form_TestListBox VBA Document 63 17 80 6 0
Form_TestWebBrowser VBA Document 13 0 13 2 0
Form_UsaMap VBA Document 10 0 10 3 0
Form_WindowsCalcDemo VBA Document 50 3 53 5 0
main Module 358 24 382 33 0
modCalendarScheme Module 59 1 60 1 0
modDialogColor Module 31 8 39 1 0
modMCAccessWindow Module 36 0 36 1 0
modMCAVIError Module 13 2 15 1 0
modMCAVIFunctions Module 112 12 124 6 0
modMCCurrentDBDir Module 9 5 14 1 0
modMCDayClick Module 38 3 41 1 0
modMCDetermineMonthInformation Module 35 2 37 1 0
modMCGlobalVariables Module 22 0 22 0 0
modMCMiniCalendar Module 89 17 106 1 0
modMCMonthToNumber Module 13 1 14 1 0
modMCNumberToMonth Module 5 0 5 1 0
modMCSysTray Module 209 54 263 7 0
modMCWeekOfDates Module 36 9 45 1 0
Report_repTestDate VBA Document 26 0 26 2 0
subMain Module 0 0 0 0 0
TestNoExplicit Module 1 0 1 0 0
I am wondering in what way your addin differs from MzTools?