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.
Public Sub DeleteAllFolders(FolderPath As String)
Dim fso As Scripting.FileSystemObject
Set fso = New Scripting.FileSystemObject
On Error Resume Next
fso.DeleteFolder (FolderPath)
Set fso = Nothing
End Sub
Function CorrectPath(FolderPath As String) As String
'If FolderPath has trailing backslash, remove it.
FolderPath = Trim(FolderPath)
If Right(FolderPath, 1) = "\" Then
CorrectPath = Left(FolderPath, Len(FolderPath) - 1)
Else
CorrectPath = FolderPath
End If
End Function