There are 2 main differences between VBA Procedures (Subs) and VBA Functions: VBA Functions return values, VBA Subs don’t You can execute a VBA Sub, you can’t execute VBA Functions –they can only be executed by VBA Subs Executing Functions and Subs Although I provided examples above ...
Const FONT_ZOOM_PERCENT_CHANGE = 0.1 'Create the fontZoom and ctrlKeyIsPressed variables outside of 'the sub definitions so they can be shared between subs Private fontZoom As Double Private ctrlKeyIsPressed As Boolean 'Create an enum so we can use it later when pulling the data out of th...