Method: WriteBlankLines for TextStream
- Updated2024-09-12
- 1 minute(s) read
FileSystemObject and Dictionary > Methods > Method: WriteBlankLines for TextStream
Method: WriteBlankLines for TextStream
Writes one or more blank lines into a TextStream file.
Object.WriteBlankLines(Lines)
| Object | TextStream Object with this method |
| Lines | LongInteger Specifies the number of blank lines. |
The following example creates a text file, writes blank lines into this file, and then closes the file:
Sub WriteBlanklinesFile(sFile,iLines) Dim fso, oMyFile Set fso = CreateObject("Scripting.FileSystemObject") Set oMyFile = fso.CreateTextFile(sFile, True) Call oMyFile.WriteBlankLines(iLines) Call oMyFile.Close End Sub
See Also
Related Topics
Command: ExecuteExclusiveBegin | Command: ExecuteExclusiveEnd | Command: ExecuteExclusiveEndAll