I have a workbook that I've been trying to make all the few changes to work with 32 and 64 bit Excel. Internally I have it working on both as long as the machines have .NET 3.5 and 4.8 loaded. I have a customer in Greece that seems to work on their 32bit machines but it is giving errors on their 64bit clients. When trying to compile it initially complained about a few FileSystemObject references which I changed from declaring a FileSystemObject to Scripting.FileSystemObject. Then I noticed it didn't like Date, which changing to VBA.Date resolved. Diving down the rabbit hole it seems to complain about every single reference of Date, UCase, UBound, LBound, Left, Right, Environ$ etc. With about 15k lines of code I surely don't want to be running these down one at a time. It appears all the same references are checked from the 32 to 64bit. Is there any easy way to remedy this? I even seen a solution for some of selecting UCMapi 1.0 Type Library but that didn't help either.
Bookmarks