Saladsamurai
08-19-2009, 07:23 AM
Okay then :)
Here is a piece of the code that I am using:
' Send to File
MyPath = "Z:\Casey B\MathML Converter\" & "MathMLAsString.txt"
fNum = FreeFile()
Open MyPath For Output As fNum
Print #fNum, EntireMLText
Close #fNum
This saves my work to a text file called "MathMLAsString"
What I would like to do is set it up so that everytime a run the code it saves the text file as a newer version so I can compare text files (i.e. MathMLAsString is not overwritten).
Something like MathMLAsString1.txt, MathMLAsString2.txt, etc...
I was thinking of starting a counter, but I do not know how VBA will know to increment it every time the code is run?
Any ideas?
Here is a piece of the code that I am using:
' Send to File
MyPath = "Z:\Casey B\MathML Converter\" & "MathMLAsString.txt"
fNum = FreeFile()
Open MyPath For Output As fNum
Print #fNum, EntireMLText
Close #fNum
This saves my work to a text file called "MathMLAsString"
What I would like to do is set it up so that everytime a run the code it saves the text file as a newer version so I can compare text files (i.e. MathMLAsString is not overwritten).
Something like MathMLAsString1.txt, MathMLAsString2.txt, etc...
I was thinking of starting a counter, but I do not know how VBA will know to increment it every time the code is run?
Any ideas?