I am encountering the following two error messages immediately upon running my excel VBA application on a customer's system:
- "Could not load an object because it is not available on this machine", followed by
- "Compile error: Can't find project or library"

The application runs just fine on all other systems that I have run it on (Excel 2010 and 2013). The only obvious difference between my customer's system and others is that they are using the 64 bit version of Excel. When I first tried to run it on their system, I received error messages related to API function declarations but I have since fixed that (I think!) by providing both 32 bit and 64 bit versions using the code suggested here: http://www.jkp-ads.com/Articles/apideclarations.asp and a conditional compile using #If VBA 7 then ... #Else ... #End If. This eliminated the declare errors but then these other two errors popped up. In case it is relevant, the API functions I am using are: getFrequency, getTickCount, SendMessage, GetDeviceCaps, GetDC, and ReleaseDC.

I have tried what I understand to be the usual ways to solve this but with no luck, e.g.:
- viewing references in the VBA editor on their system shows all the expected references are checked off and none are flagged as MISSING
- I had the customer turn off a couple of COM add-ins that they had active, but no change
- I had the customer confirm that all windows updates have been installed
- I sent them a basic .xlsm file that just copied a value from one worksheet cell to another when a button was pushed, and that worked fine on their end

At this point I'm not sure what to try next. Any suggestions for other things to try out? Is there any way to find out what specific objects, projects or libraries are causing the problem? Any thoughts would be appreciated, and let me know if I should provide more details. Thanks.