message to log file. Print #iFileNumber, Format$(Now(), "mm/dd/yy hh:mm:ss") & " " & sLogMessage Close #iFileNumber To me, I would say that the variable
iFileNumber
is used (a number of times at that). When I run the code inspections, sometimes it reports this variable as not being used, and other times it doesn't. !
codeinspection1...