Forum Discussion
Excel sheet with coding not working
c:\Windows\SysWOW64\msmask32.ocx
and
c:\Windows\SysWOW64\mscomct2.ocx
- az123330Feb 03, 2019Copper Contributor
Thanks. Any ideas if it can be fixed?
- JKPieterseFeb 04, 2019Silver Contributor
Your best bet would be to make sure the file does not use these controls to begin with. Both are part of an external library which is no longer part of the default Windows installation. Also, you will have to make sure every computer which needs to use this Excel file will have to be updated to include both ocx files. I can see in the code that the common controls library is there because the programmeer added a date picker control to the VBA. This can be replaced with a version which does not use any external libraries, as demonstrated here: http://www.rondebruin.nl/win/addins/datepicker.htm
- az123330May 01, 2019Copper Contributor
How will this alter the code in VBA? The worksheet doesn't work and it keep highlighting the attached.
I am guessing I need to edit that bit to reflect what you posted?