I am trying to switch a Excel VBA macro from Windows XP to Windows 7. Both of the Windows versions are 32-bit operating systems. My Windows 7 version is Enterprise edition.
The VBA code works fine on Windows XP. When I have tried to run the code on Windows 7, it crashes and reports no error description.
I have registered msinet.ocx
, which appears to be required for Microsoft Internet Transfer Control 6.0. I have also tried to fix security issues by adding the additional com components tabctl32
, comctl332/232/32
and comdlg32
, all of which are ocx files. However, nothing changes - my code still fails on Windows 7.
Once msinet
was unregistered, Excel VBA opens my Workbook, reports the missing reference msinet
and does not work at all. How do I resolve this issue?