A
Arnaud Boëlle
Hi,
I need to read unix binary files with Excel VBA.
The problem is not to read a binary file. I use :
Dim buffer(1 to 1000) as single
Open file For Binary As 1
Get #1, 1, buffer
The problem is that IEEE binary information are stored left-to-right in UNIX
and right-to-left in WINDOWS
(or the contrary).
I found a first solution to this problem which is
read binary data in a buffer of byte
invert 4 by 4 the bytes of buffer
write buffer in a new binary file
read binary data
Does anyone know a better solution ?
thanks,
Arnaud
I need to read unix binary files with Excel VBA.
The problem is not to read a binary file. I use :
Dim buffer(1 to 1000) as single
Open file For Binary As 1
Get #1, 1, buffer
The problem is that IEEE binary information are stored left-to-right in UNIX
and right-to-left in WINDOWS
(or the contrary).
I found a first solution to this problem which is
read binary data in a buffer of byte
invert 4 by 4 the bytes of buffer
write buffer in a new binary file
read binary data
Does anyone know a better solution ?
thanks,
Arnaud