Shadowcat2021
Technical User
Okay I need help trying to add paragraphs not lines but full text. Here is a code that i build in order add the text to a file.
I got a message when I start it it reads object required: fiMessage
Code:
Dim fiParagraph
Dim fsoParagraph
set fsoParagraph = CreateObject("Scripting.FileSystemObject")
set fiParagraph = fsoParagraph.OpenTextFile("C:\Hosts.txt", 2, true)
if err.number = 0 then
fiMessage.write vendorparagraph
fiMessage.close
end if
set fiMessage = nothing
set fsoMessage = nothing
I got a message when I start it it reads object required: fiMessage