View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Mark HOlcomb Mark HOlcomb is offline
external usenet poster
 
Posts: 8
Default Speed of Applications in VBA vs VB

,I have written an application in VBA that reads a very large binary file.
I am pleased that it works at all .. but it runs too slow to be of any
practical use. I read 4 bytes at a time, then convert. The file is a
mixture of integer, ascii and floating point data. And very large. I want
to read several of these files in succession.
Would the stream reader speed things up? Or, if I transformed it into VB,
would it go faster? Is there an inheriant speed problem with VBA because it
is wrapped up in EXCEL? I only use VBA because I am most familiar with that
user interface.

Any comments are greatly appreciated.

Mark