MS12-060

From Wiki for The Only Sheet
Jump to navigation Jump to search

reference

"Unspecified Automation Error" after applying MS12-060

by Will Buffington Date: 15 Aug 2012 3:24 PM

MS12-060 is a security update that was released Tuesday, August 14, 2012. This update replaced MS12-027. There was a known issue with MS12-027 that caused you to need to remove EXD files in order to resolve an error. While a Fixit solution was released for MS12-027 (http://support.microsoft.com/kb/2703186) you may now be seeing "Unspecified Automation Error" when running your Microsoft Office VBA code after installing MS12-060.

The fix for this problem is to re-register MSCOMCTL.OCX. To do this, follow these steps:

Step #1

1. Open an administrative-level command prompt. Click START, and type RUN in the run command line. On Windows Vista and Windows 7 you will see CMD.EXE appear in the quick search list. Right click CMD.EXE and left click Run As Administrator. A black command prompt opens.

Step #2

If on a 64-bit machine, type the following:

regsvr32.exe /u C:\Windows\SysWOW64\MSCOMCTL.OCX

Hit ENTER

then type

regsvr32.exe C:\Windows\SysWOW64\MSCOMCTL.OCX

Hit ENTER

If on a 32-bit machine, type the following:

regsvr32.exe /u C:\Windows\system32\MSCOMCTL.OCX

Hit ENTER

then type

regsvr32.exe C:\Windows\system32\MSCOMCTL.OCX

Hit ENTER

Your Office program should work again after doing this.


Back to Issues