Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dim ctl As Control
Dim Currenttab As Long
Dim tabloop As Long
Currenttab = SSTab1.Tab 'capture currently selected tab
For tabloop = 0 To 2 ' for an sstab with 3 tabs
Debug.Print "On tab " & tabloop
SSTab1.Tab = tabloop
' Check to see if each control is on an sstab and if so whether it is visible on the currently selected tab
For Each ctl In Me.Controls
If ctl.Container Is SSTab1 Then
If ctl.Left > -500 Then
Debug.Print " "; ctl.Name
End If
End If
Next ctl
Next
SSTab1.Tab = Currenttab ' revert to originally selected tab
Private Sub SSTab1_Click(PreviousTab As Integer)
With fraMyFrame(SSTab1.Tab)
.Move 150, SSTab1.TabHeight + 150, SSTab1.Width - 300, SSTab1.Height - SSTab1.TabHeight - 300
.BorderStyle = 0
End With
End Sub