Line number on codelines

T

TC

Yes, but very few people do so - useful as it is for error messages.
(See the Erl() function.)

I don't have Access here to check, but I'm sure this will work:

10 sub blah()
20 msgbox "blat"
30 end sub

and so on.

HTH,
TC
 
R

RoyVidar

reidarT wrote in message said:
Is it possible to have line numbers on the code in VBA?
reidarT

Yes it is. Check out the freeware MZTools, which can add and remove
them quite easily (for 2000 and later versions).
 
Top