VBA Access: Repeated Formatting - How do I create a public function for this?
Posted on 2014-10-10
I have some VBA code that involves a lot of formatting. My code is super long because of this, which is...distracting.
I would like to put the formatting part of the code into a public function so that I can just call the formatting with one word, but I am not sure who to do this with formatting. It isn't really a function (no "sub" at the front and no "end sub" at the end). It is just a chunk of code that formats. And I use it repeatedly, so it just be so great if I could make this work.