If you have not noticed this is a well known problem and many people selling solutions. If you cannot build it yourself or get online when needed to one of the free versions, many of these companies offer stand alone options that import and export to excel (also have APIs) for a very cheap...