G
greaseman
I've got a VB project that cycles through a txt file and extracts dat
from that txt file into Excel files. The project creates Excel file
based on what it finds in the txt file.
My problem: The code works beautifully on the first two sets of data i
finds, but when it encounters a third set of data, although the progra
reads through the data, it does not create a resultant third Exce
file. I've stepped through the code and confirmed that data is bein
encountered.
Is there a limit on the number of Excel workbooks that can be created
Here is the code snippet I have at the end of my project, after data i
processed:
xls.activeworkbook.saveas Filename:=strFilename & ".xls"
ReadOnlyRecommended:=False, CreateBackup:=False
xls.activeworkbook.Close
xls.workbooks.Add
xls.Visible = True
Any help is most welcome! This is driving me crazy!!!
from that txt file into Excel files. The project creates Excel file
based on what it finds in the txt file.
My problem: The code works beautifully on the first two sets of data i
finds, but when it encounters a third set of data, although the progra
reads through the data, it does not create a resultant third Exce
file. I've stepped through the code and confirmed that data is bein
encountered.
Is there a limit on the number of Excel workbooks that can be created
Here is the code snippet I have at the end of my project, after data i
processed:
xls.activeworkbook.saveas Filename:=strFilename & ".xls"
ReadOnlyRecommended:=False, CreateBackup:=False
xls.activeworkbook.Close
xls.workbooks.Add
xls.Visible = True
Any help is most welcome! This is driving me crazy!!!