sorry i forgot to mention that macro is not an option.
actually i did that in my first attempt, and got a request from coworker to solve it without the macro.
maybe it’s because a macro makes it hard to detect errors,
as it only shows the error while calling macro, not the wrong code in macro itself
anyway, thanks for the reply.






















