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.
Private Sub LoadFile(ByVal FileName As String)
Dim FSO As Scripting.FileSystemObject
Dim cAllData As String
Dim arTemp() As String
Dim i As Long
Set FSO = CreateObject("Scripting.FileSystemObject")
cAllData = FSO.GetFile(FileName).OpenAsTextStream(ForReading).ReadAll
Set FSO = Nothing
arTemp = Split(cAllData, vbCrLf)
For i = LBound(arTemp) To UBound(arTemp)
Debug.Pring arTemp(i)
Next i
End Sub
Public Sub SaveFile(ByVal FileName As String, ByVal Data As String)
Dim FSO As Scripting.FileSystemObject
Dim cParentFolder As String
Set FSO = CreateObject("Scripting.FileSystemObject")
cParentFolder = FSO.GetParentFolderName(FileName)
If Not FSO.FolderExists(cParentFolder) Then
Call FSO.CreateFolder(cParentFolder)
End If
Call FSO.CreateTextFile(FileName, True).Write(Data)
Set FSO = Nothing
End Sub