Answered by:
Adding Web Browser Control to Excel 2013

Question
-
I have a web browser control in a spreadsheet created in Excel 2010. I can't view it in 2013 for some reason. When I try in a blank 2013 worksheet I get the same error: "Can't insert object"
Any help is appreciated.
Wesley
- Changed type Jaynet ZhangModerator Wednesday, November 14, 2012 6:12 AM
Answers
-
Thanks again for the reply. I'm not sure about the killbit but I'm not trying to block the webbrowser control. This is what I received from Microsoft TechNet Support on this issue which is what lead me to killbit. If I understand this correctly there is no alternative CLSID for the web browser control and she says in another email that 2007 and 2010 will soon be updated to have the same issue as 2013.
Amber Mertes (ammert@microsoft.com)11:28 AMTo: Wesley HoltCc: MSSolve Case EmailIn summary Wesley, the Web Browser control has been killbitted. There is not an alternative CLSID to use in its place. I was able to use it with a VBA UserForm. So that’s one option to you. In the regFrom: Amber Mertes (ammert@microsoft.com) Sent: Wed 11/14/12 11:28 AM To: Wesley Holt (doctorcpu@hotmail.com) Cc: MSSolve Case Email (casemail@microsoft.com) In summary Wesley, the Web Browser control has been killbitted. There is not an alternative CLSID to use in its place. I was able to use it with a VBA UserForm. So that’s one option to you.In the registry, do a search for “COM Compatibility” as depending on whether your OS is 64 or 32-bit and whether your install of Office is a Click-to-Run or MSI install…. The path may be different.For example, on my 64-bit OS with 32-bit Office Click-to-Run install…. My location for that is:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\Microsoft\Office\15.0\Common\COM Compatibility\In testing the “400” to “0” workaround, it does resolve the issue in my testing. However, as you are turning off the killbit with this, it would not be my recommendation, nor would it be supported, as it was disabled for security reasons.Please let me know when you have some time to discuss any questions you have on this. Thanks!Wesley
- Marked as answer by doctorcpu Friday, January 3, 2014 12:13 AM
All replies
-
Hi,
Go to the following registry:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Office\15.0\Common\COM Compatibility\{8856F961-340A-11D0-A96B-00C04FD705A2}
Then set the value data from 400 to 0.
Jaynet Zhang
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
- Edited by Jaynet ZhangModerator Wednesday, November 14, 2012 6:15 AM
- Proposed as answer by Sjoerd Schudde Wednesday, November 14, 2012 10:08 AM
-
-
-
-
The location for setting the Office COM kill bit in the registry is as follows:
HKEY_LOCAL_MACHINE/Software/Microsoft/Office/Common/COM Compatibility/{CLSID}In this case, <var>CLSID </var>is the class identifier of the COM object. To enable the Office COM kill bit, you have to add the registry subkey together with the CLSID of the ActiveX control or OLE object that you want to block from loading. Also, you have to set the Compatibility Flag's REG_DWORD value to 0x00000400.
For example, to set the Office COM kill bit for an object that has CLSID {77061A9C-2F18-4f38-B294-F6BCC8443D24}, locate the following subkey, and add REG_SZ {77061A9C-2F18-4f38-B294-F6BCC8443D24} to the subkey:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Common\COM CompatibilityIn this case, the path is as follows:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\Common\COM Compatibility\{77061A9C-2F18-4f38-B294-F6BCC8443D24}When you add a subkey that contains the value of 0x00000400 to the {CLSID} key, the Office COM kill bit is set. The 64-bit and 32-bit objects and their kill bits are located in different registry locations.
Quote from:
http://support.microsoft.com/kb/2252664?wa=wsignin1.0
The link applies to Excel 2007, but we can refer to it.
Jaynet Zhang
If you are TechNet Subscription user and have any feedback on our support quality, please send your feedback here.
- Edited by Jaynet ZhangModerator Thursday, November 15, 2012 2:43 AM
-
Thanks again for the reply. I'm not sure about the killbit but I'm not trying to block the webbrowser control. This is what I received from Microsoft TechNet Support on this issue which is what lead me to killbit. If I understand this correctly there is no alternative CLSID for the web browser control and she says in another email that 2007 and 2010 will soon be updated to have the same issue as 2013.
Amber Mertes (ammert@microsoft.com)11:28 AMTo: Wesley HoltCc: MSSolve Case EmailIn summary Wesley, the Web Browser control has been killbitted. There is not an alternative CLSID to use in its place. I was able to use it with a VBA UserForm. So that’s one option to you. In the regFrom: Amber Mertes (ammert@microsoft.com) Sent: Wed 11/14/12 11:28 AM To: Wesley Holt (doctorcpu@hotmail.com) Cc: MSSolve Case Email (casemail@microsoft.com) In summary Wesley, the Web Browser control has been killbitted. There is not an alternative CLSID to use in its place. I was able to use it with a VBA UserForm. So that’s one option to you.In the registry, do a search for “COM Compatibility” as depending on whether your OS is 64 or 32-bit and whether your install of Office is a Click-to-Run or MSI install…. The path may be different.For example, on my 64-bit OS with 32-bit Office Click-to-Run install…. My location for that is:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\ClickToRun\REGISTRY\MACHINE\Software\Wow6432Node\Microsoft\Office\15.0\Common\COM Compatibility\In testing the “400” to “0” workaround, it does resolve the issue in my testing. However, as you are turning off the killbit with this, it would not be my recommendation, nor would it be supported, as it was disabled for security reasons.Please let me know when you have some time to discuss any questions you have on this. Thanks!Wesley
- Marked as answer by doctorcpu Friday, January 3, 2014 12:13 AM
-
Hi,
Correct reg path is [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\15.0\Common\COM Compatibility\{8856F961-340A-11D0-A96B-00C04FD705A2}]
Change the value from 400 to 0
Note - I have tested above on 64 bit Windows 7 with 64 bit Office 2013
Regards,
Ojas Maru ( My blog ) -