PDA

View Full Version : Togglebutton to hide table



jchudley
06-08-2015, 06:05 AM
I want to have a toggle button set up on a slide so that a table can be hidden to reveal a different table underneath. I really do not know what I am doing so any help would be appreciated.

Private Sub ToggleButton1_Click()

If ToggleButton1.Value = True Then
table2.Visible = False
Else
table2.Visible = True
End If
End Sub

John Wilson
06-08-2015, 08:46 AM
There's no need to use code to do that. Just have a trigger animation that hide / shows the top table