Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
_dscholtes_
in reply to: JelteDeJong

I would choose for snippet 4. Writing code is not my profession, so I would not compact it. I use blank lines to separate associated lines of code (dim & set combo's) and use (short) comments as much as I can. 
I would however create a single line if-statement for the check if the user selected a view.
I would create an if-else-statement instead of the two if-end if statements for the curves.