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.
MySheet = "Whatever"
Function FindSheet(MySheet as String) As Boolean
For Each Worksheet In Worksheets
If Worksheet.Name = MySheet Then
FindSheet = TRUE
Exit Function
End IF
FindSheet = FALSE
Next
End Function
Public Function DeleteReportSheets() As Boolean
Dim l_iCounter As Integer
DeleteReportSheets = False
On Error GoTo ErrorHandler
'No screen messages
Application.DisplayAlerts = False
'Delete all sheets except SETTINGS
For l_iCounter = 1 To g_udtSettings.wkbCurrent.Sheets.Count
If (g_udtSettings.wkbCurrent.Sheets(g_udtSettings.wkbCurrent.Sheets.Count).Name <> "Settings") Then
g_udtSettings.wkbCurrent.Sheets(g_udtSettings.wkbCurrent.Sheets.Count).Delete
End If
Next l_iCounter
'Turn on screen messages
Application.DisplayAlerts = True
DeleteReportSheets = True
Exit Function
ErrorHandler:
Call ErrorHandler(Err, "DeleteReportSheets")
Exit Function
Resume Next
End Function