Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Quick Question
Using the help menu from excel im trying to create a simple text file using
the following: Sub CreateAfile Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile("c:\testfile.txt", True) a.WriteLine("This is a test.") a.Close End Sub I have several named cells which Im trying to use to generate the text file in the following format: " First_named cell " & " " & "Second_named cell" &" "& Third &" " & "Fourth" |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Quick Question
OK, I got it solved
Thanks "N.F" wrote: Using the help menu from excel im trying to create a simple text file using the following: Sub CreateAfile Set fs = CreateObject("Scripting.FileSystemObject") Set a = fs.CreateTextFile("c:\testfile.txt", True) a.WriteLine("This is a test.") a.Close End Sub I have several named cells which Im trying to use to generate the text file in the following format: " First_named cell " & " " & "Second_named cell" &" "& Third &" " & "Fourth" |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
quick question | Excel Discussion (Misc queries) | |||
Quick Question | Excel Worksheet Functions | |||
Quick little question | Excel Discussion (Misc queries) | |||
Quick Question | Excel Worksheet Functions | |||
Quick Question | Excel Discussion (Misc queries) |