A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Bill,
After a lot of research, I finally know where the problem really lies. The issue seems to be with the compatibility of the 3rd party DLL with the Windows 10 Versions.
I zeroed on to the issue by testing my program (including same DLL) on couple of different versions of Windows as well as Excel versions. My program works on Windows 7, 8, 8.1, as well as 10 (home) except with Windows 10 Pro. It runs fine on Windows 10 Home edition with Excel 2016 as well as Excel 2013. But it does not work on Windows 10 Pro with any Excel. So, the real issue is compatibility of DLL with 10 Pro.
Now that I know the issue, it can e resolved as I got in touch with the guys who wrote the DLL for me and they have agreed to help resolve the issue. They sent me a test DLL with just one function which has worked fine and now they are redoing the full DLL to be compatible with Windows 10 Pro.
Meanwhile, I wish to thanks yo for all the help you had provided.
Thanks. Regards.