Actually the file is an array of unique data elemets stored as doubles. I need to read each element of the array and process them. I then need to create the same file with the new data. I forgot to add that. I'm reading the file but when I check individual array elements I get a type mismatch when I try to read any of the elements If I change the type to double I end up with a subscript out of range error.
Thanks
Gerry
Main Topics
Browse All Topics





by: vinnyd79Posted on 2007-06-12 at 19:53:35ID: 19271571
are you just looking to read the whole file? You could try:
Public Function CreateMemoryFile()
Dim FileData As String
Open App.Path & "\PRE_MEM_1.flt" For Binary As #1
FileData = Space$(LOF(1))
Get #1, , FileData
Close #1
Debug.Print FileData
End Function