Most people's first experience with VBA can be compared either to opening Pandora's box, or to Alice's trip down the rabbit hole. In either case, I hope the experience turns out positive for you.
What is VBA?
Where do I run this code?
So basically:
- Use "Alt-F11"
- Create a module "Insert > Module"
- Paste the code in the module.
- Go to your worksheet and select the cell with the intended sheet name.
- Run the code.
Good Luck!