That works great, thanks
The only thing is that the line where the selection begins does not get commented/uncommented with the macro unless the selection began at the very beginning of a line.
Ex:
te[begin selection]xt text text text text text
text text text text te[end selection]xt text
Result: using comment macro
text text text text text text
'text text text text text text
However Ex:
[begin selection]text text text text text text
text text text text[end selection] text text
Result: using comment macro (desired result)
'text text text text text text
'text text text text text text
And, for uncommenting, all of the 's need to be included in the selection.
Ex.
't[begin selection]ext text text text text text
'[end selection]text text text text text text
Result: using uncomment macro
'text text text text text text
text text text text text text
Ex. (similar)
[begin selection]'text text text text text text
[end selection]'text text text text text text
Result: using uncomment macro
text text text text text text
'text text text text text text
Ex. (showing what's required for desired result)
[begin selection]'text text text text text text
'[end selection]text text text text text text
Result: using uncomment macro
text text text text text text
text text text text text text
Thanks again, works great if selecting appropriately.