ThatMasonGUy
New Member
- Joined
- Mar 29, 2022
- Messages
- 6
- Office Version
- 365
- Platform
- Windows
I'm looking to make a super simple macro that just pulls the text out of a shape and uses that to unhide and open a tab on click.
Sub ButtonToHiddenSheet()
Dim ShtName As String
ShtName = SHAPE TEXT
Sheets(ShtName).Visible = xlSheetVisible
Sheets(ShtName).Select
End Sub
I just don't know how to & cannot for the life of me find how to copy the text from within a shape, help please!
Pic of the buttons, just incase.
Sub ButtonToHiddenSheet()
Dim ShtName As String
ShtName = SHAPE TEXT
Sheets(ShtName).Visible = xlSheetVisible
Sheets(ShtName).Select
End Sub
I just don't know how to & cannot for the life of me find how to copy the text from within a shape, help please!
Pic of the buttons, just incase.