Nope that is not possible in VB as far as I know but I am not a VB expert. What you are saying are something like macros in C++