Hi Aidy
Absolutely! Just insert a single quote character on the line, like so:
' This is a comment
The VBA Ide even has buttons to prefix a selected line of block of code with
a single quote and another button to remove the single quotes. The 2 buttons
are on the Edit toolbar. To find them just move the mouse cursor over the
toolbar icons and tooltip text should indentify them as "Comment Block" and
"Uncomment Block".
HTH + Cheers - Peter
(e-mail address removed) (Aidy) wrote in @posting.google.com: