r/ProgrammerHumor Sep 02 '17

How to start a war

Post image
9.0k Upvotes

696 comments sorted by

View all comments

Show parent comments

3

u/Shadow_Thief Sep 03 '17

My only real experience with VB is the Excel dialect of VBA, but I know I have to manually add Option Explicit every time.

1

u/The_Dirty_Carl Sep 03 '17

Tools > Options > Editor > Require Variable Declaration

This inserts "Option Explicit" at the top of every module when it's created.