liamdocherty
New Member
- Joined
- Jan 1, 2019
- Messages
- 8
Hi,
I was wondering how can I open a specific worksheet using VBA code on a command button macro?
I tried the following code but it doesn't work.
I was wondering how can I open a specific worksheet using VBA code on a command button macro?
I tried the following code but it doesn't work.
Code:
Private Sub CommandButton_2Click()
Worksheets("Students").Activate