View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
murthy murthy is offline
external usenet poster
 
Posts: 24
Default CreateTextFile method - Pagebreaks in the Text file

I am creating a text file using the following code:

Set fs = CreateObject("Scripting.FileSystemObject")
Set a = fs.CreateTextFile(FilePath & NameOfFile, True)

Now, in the new text file created, I want to insert page breaks.

What is the code to be written to have page breaks in the text file created?

- Murthy