How to comment / uncomment within LET function? I´m looking for something similar to using ' to comment / uncomment blocks / lines of codes in VBA.
At present, I´m using a name within LET to pass on the comment. But it´s not just about adding a comment. I would like to comment / uncomment blocks of lines. If I have to try few variations within LET block, without deleting the lines, how can it be done? For example, I would like to try passing 15 to b in the LET block shown below, but still want to keep the current line `b, 10´ for reference.
At present, I´m using a name within LET to pass on the comment. But it´s not just about adding a comment. I would like to comment / uncomment blocks of lines. If I have to try few variations within LET block, without deleting the lines, how can it be done? For example, I would like to try passing 15 to b in the LET block shown below, but still want to keep the current line `b, 10´ for reference.
Excel Formula:
=let(
a, 5,
b, 10,
comment1, "this is simple addition",
a+b)