Novicelearner
New Member
- Joined
- Nov 29, 2017
- Messages
- 5
Hi,
I would like to know is it possible to create a dynamic link that i can select different worksheet in excel.
Example:
i) Once i have create the macro i will link it to a button on cell A20 and it will select sheet"1000 Training".
ii) I will copy the button to A21 and it will select the next sheet which is sheet"2000 Training". (this does not working as it still select sheet"502080 Training")
Below is the macro create for (i)
Sub SelectSheet()
'
' SelectSheet Macro
Range("A20").Select
Sheets("502080 Training").Activate
End Sub
Thanks!
I would like to know is it possible to create a dynamic link that i can select different worksheet in excel.
Example:
i) Once i have create the macro i will link it to a button on cell A20 and it will select sheet"1000 Training".
ii) I will copy the button to A21 and it will select the next sheet which is sheet"2000 Training". (this does not working as it still select sheet"502080 Training")
Below is the macro create for (i)
Sub SelectSheet()
'
' SelectSheet Macro
Range("A20").Select
Sheets("502080 Training").Activate
End Sub
Thanks!