What code do I need in VB6 to take numbers from boxes in my display and append them to the end of a excel sheet , i would like to do it once per day and have it just added onto the end, so that I can graph the data later.
Thanks
What code do I need in VB6 to take numbers from boxes in my display and append them to the end of a excel sheet , i would like to do it once per day and have it just added onto the end, so that I can graph the data later.
Thanks
Export data to excel
tushka
Ryan,
you can create a CSV file (Comma delimited) and append your number in this file. Excel and open CSV file.
fahimaamir
Ryan,
from http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21195163.html
Write (appends data to an existing file):
Dim intFileHandle As Integer
Dim strRETP As String
strRETP = "Hi There"
intFileHandle = FreeFile
Open "path to file" For Append As #intFileHandle
Print #intFileHandle, "---------------------------"
Print #intFileHandle, strRETP
Print #intFileHandle, "---------------------------"
Close #intFileHandle
RamyaRamakrishnan