Posted to microsoft.public.excel.programming
|
|
Opening Notepad from Excel
Thanks
"joel" wrote:
You don't need to run notepad. Just create the file and close it.
Const ForReading = 1, ForWriting = -2, _
ForAppending = 3
WriteFile = "c:\temp\Test.kml"
Set fs = CreateObject("Scripting.FileSystemObject")
Set fout = fs.CreateTextFile _
(Filename:=WriteFile, overwrite:=True)
fout.Close
--
joel
------------------------------------------------------------------------
joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=149280
.
|