Maximum size of VBA code

VBA code in ReadSoft Invoices is limited to a maximum size of 64 KB.

If the 64 KB limit is reached, try one or more of the following:

  • Use shorter variable and function names.
  • Remove comments and blank spaces.
  • Move the code to Visual Basic and compile a DLL as an automation server object. Then connect the DLL to ReadSoft Invoices by defining it as an external event server object with the SetEventServerObject method.