Open an EXCEL file for FILEOUTPUT? Can it be done?
Posted by Chris on November 26, 2001 8:52 AM
I have a master spread sheet that is opened everyday, but I would like a macro in the master spread sheet to open another NEW EXCEL SHEET as OUTPUT, kind of like when you would open a TEXT FILE like:
Open "newsheet.xls" For Output As gFileNum
Write #gFileNum, MyString, MyNumber
Close #gFileNum
Can I use these commands anyway to do this:
EXAMPLE:
I want to open another NEW SHEET as "NEWSHEET.XLS"
then I want to write values in ROW 1, COLUMNS 1-6.
Then I want to CLOSE this file "NEWSHEET.XLS"
Can this be done somehow?
Thanks,
Chris