I have most of the codes but cannot run it. Some basic info is that my username is nywongab, I want it as a text file and the text file placed on the desktop. Thanks
Sub createsth()
Dim abbyFilesystem As filesystemobject
Dim abbyfile As File
Set abbyFilesystem = CreateObject("scripting.filesystemobject")
Set abbyfile =_
abbyFilesystem.createtextfile("C:\Users\nywongab\Desktop"_
& ".txt")_
Dim result As String
result = "A"
abbyfile.write (result)
End Sub