I'm mainly self taught at VBA so I make notes on various coding conventions/practices etc. that I pick up from books & websites.
I've noticed that some of these conventions conflict with one another or don't appear to have a logical rationale upon closer inspection.
So I figure that I would pose some of these to the Forum so I can be taught by others far more skilled and experienced than I.
Here's the first one:
I've come across a coding convention where you placebefore the procedure exit/end.Please Login or Register to view this content.
I started to take this practice up but when I recently questioned the logic for doing so, I couldn't work out why you would do this.
Error Handling takes place at a procedure level. When a procedure ends, the error handling for that procedure resets so why would you need to reset it?
Or am I overlooking something big?
Bookmarks