Subroutine with optional parameters (=default value variables)

Sure. You can add an If/Else for each variable at the start of your subroutine. If the variable is empty, set it to something. Here's an example from my Prompt With List... on Steroids macro.

2 Likes