Hello All:
Just wanted to let you all know that I am a very lazy programmer. And a little new to VBA....
I'm used to creating macros in C to save me from typing alot of code, and I was wondering if VBA Macros work the same way.
For example, can I set up a macro to output 'Dim userInput as string' to the code editor, (where 'userInput' is a varible name that I give). Thus, all I have to do is run the String macro everytime I was to declare a String.
This would save me from typing
"Dim blahblah as string" evertime I want to declare a string.
Any thoughts??? Thanks a bunch!!!!
Just wanted to let you all know that I am a very lazy programmer. And a little new to VBA....
I'm used to creating macros in C to save me from typing alot of code, and I was wondering if VBA Macros work the same way.
For example, can I set up a macro to output 'Dim userInput as string' to the code editor, (where 'userInput' is a varible name that I give). Thus, all I have to do is run the String macro everytime I was to declare a String.
This would save me from typing
"Dim blahblah as string" evertime I want to declare a string.
Any thoughts??? Thanks a bunch!!!!