I am new in Excel VBA programming therefore I’ve met a few difficulties within my very own project.
Long story short, I have 10 UserForm(s), and 10 TextBox(s) in each UserForm with the same TextBox name.
Is it possible for me to create a function that I can call it in every UserForm so that I don’t have to manually code it for every UserForm(s). Regarding the function, it will reset the value of TextBox, as well as bring it back to the ‘initial’ state.
That’s all for my question. Any help would be highly appreciate.Thanks in advance.
Create a
Subin aModulethat you call from each formeg
Call it in each
UserFormas you see fiteg