WinCC TIA VB Script Data Logging To Excel (CSV)
WinCC TIA VB Script Data Logging To Excel (CSV)
FolderPath = "C:\_DOC\"
Filename = "test_log.csv"
'Object creation
Set ObjectPath = CreateObject("Scripting.FilesystemObject")
'Free memory
Set File = Nothing ‘Here we are releasing the file.
End Sub