Hello,
Will someone guide me on making a macro to comment a block of code? Given a selection of a block of n number of lines, I would like to place a single quote at the beginning of each line. And, likewise, a macro to remove the single quote from the beginning of a selection of n lines.
Ex. Need to use macro A:
if i = 1 then
response.write (i)
end if
After using macro A:
'if i = 1 then
' response.write (i)
'end if
Then after using macro B, I want it to revert back:
if i = 1 then
response.write (i)
end if
Thanks for any guidance or examples that might help me on this.
Will someone guide me on making a macro to comment a block of code? Given a selection of a block of n number of lines, I would like to place a single quote at the beginning of each line. And, likewise, a macro to remove the single quote from the beginning of a selection of n lines.
Ex. Need to use macro A:
if i = 1 then
response.write (i)
end if
After using macro A:
'if i = 1 then
' response.write (i)
'end if
Then after using macro B, I want it to revert back:
if i = 1 then
response.write (i)
end if
Thanks for any guidance or examples that might help me on this.