I want to run a program that will keep track of names entered into a file. I can get it to enter data into the file each time that the program runs but it just writes over the data from the previous entry. This is the code that I am using.
Open "C:\MyFiles\Visual Basic 6.0\Excel Storage\Username Storage.txt" For Output As #1
Print #1, frmReg2.User
Close #1
Debug.Print frmReg2.User
I was wondering if there is a way to program around this.
Open "C:\MyFiles\Visual Basic 6.0\Excel Storage\Username Storage.txt" For Output As #1
Print #1, frmReg2.User
Close #1
Debug.Print frmReg2.User
I was wondering if there is a way to program around this.