Excel 2007 里不能使用超链接,提示“由于本机限制,无法使用”
今天使用excel2007时发现一个问题,打开excel文件,工作表内之前建的超级链接不能使用,点击是提示“由于本机限制,无法使用,请与管理员联系”。
一个小时前建工作表的时候,超级链接还是正常的,中间重启了一次电脑,就成这样了,重启前清理了一次系统垃圾,上网搜资料开始解决。 经过搜索,网上给出了三个参考方案:
a方案,.打开word或excel,菜单里选择“工具→自动更正”,单击“键入时自动套用格式”选项卡,勾选“Internet 及网络路径替换为超级链接”复选框(如果已勾选,则取消)。 重新打开word/excel或是outlook,你将发现,问题解决! b方案(如果a方案不能解决,可以试试下面这条)
打开“IE浏览器”--> Internet 属性 --> 点开“程序”选项卡中,点击“重置web设置”。重新打开word/excel或是outlookOK!
c方案,如果你之前装过遨游浏览器,那就是注册表被修改了。所以是注册表的问题。 解决办法如下:
1.打开开始菜单,在运行里输入regedit,回车
2.在注册表中,导航到HKEY_CURRENT_USER\\Software\\Classes\\.html 项 3.在默认项上点右键选择修改
4.将Max2.Association.HTML值改为Htmlfile,然后确认,然后退出注册表 5.重启你正在使用的Excel,然后再次点Office里面超链接,
备注:如果是其他浏览器的问题或者没有.html项的话,就新建一个.html ,然后把键值改为Htmlfile,确认再退出注册表就可以了。
按照三个方案依次执行,A,B方案都没有解决问题,在看C方案时,中间提到了遨游浏览器,我的电脑通过云端安装了遨游浏览器,平时开机启动云端,但是不启动遨游,怀疑是云端没有开启的缘故。 开启云端后,重新打开excel,超级链接回复正常,关闭云端,故障依旧。然后开启云端再次执行方案B,方案A已经执行过。将IE设置为默认浏览器,再关闭云端,打开excel,超级链接恢复正常。 C方案自始至终没有执行,问题解决后检查了一下注册表,其中没有问题,不知道出问题的时候里面是什么样的。
网上还有一个方法是新建注册表文件进行导入,不过没有测试过,不知道风险大不,将代码给大家写到下面,有兴趣的朋友可以试一下。
打开一个记事本,复制下列内容,然后另存为.reg文件,然后双击导入:
Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\\.htm] \@=\
\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList]
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell\\edit\\command] @=\
\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,45,00,58,00,43,\\ 00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,\\ 24,00,34,00,51,00,5d,00,63,00,40,00,49,00,49,00,3d,00,6c,00,32,00,78,00,61,\\ 00,54,00,4f,00,35,00,20,00,2f,00,65,00,00,00,00,00
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell\\edit\\ddeexec] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell\\edit\\ddeexec\\application] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Excel.exe\\shell\\edit\\ddeexec\\topic] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell\\edit\\command] @=\
\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,45,00,58,00,43,\\ 00,45,00,4c,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,\\ 24,00,34,00,51,00,5d,00,63,00,40,00,49,00,49,00,3d,00,6c,00,32,00,78,00,61,\\ 00,54,00,4f,00,35,00,20,00,2f,00,65,00,00,00,00,00
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell\\edit\\ddeexec] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell\\edit\\ddeexec\\application] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Excel\\shell\\edit\\ddeexec\\topic] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Publisher] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Publisher\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Publisher\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Publisher\\shell\\edit\\command] @=\
\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,50,00,75,00,62,\\ 00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,3e,00,74,00,57,00,7b,00,7e,00,\\ 24,00,34,00,51,00,5d,00,63,00,40,00,3f,00,46,00,40,00,36,00,6b,00,78,00,61,\\ 00,54,00,4f,00,35,00,20,00,25,00,31,00,00,00,00,00 [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word]
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell\\edit\\command] @=\\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,57,00,4f,00,52,\\ 00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,24,00,\\ 34,00,51,00,5d,00,63,00,40,00,35,00,64,00,31,00,60,00,2c,00,78,00,61,00,54,\\ 00,4f,00,35,00,20,00,2f,00,6e,00,20,00,2f,00,64,00,64,00,65,00,00,00,00,00 [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell\\edit\\ddeexec] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell\\edit\\ddeexec\\Application] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\Microsoft Office Word\\shell\\edit\\ddeexec\\Topic] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\MSPub.exe] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\MSPub.exe\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\MSPub.exe\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\MSPub.exe\\shell\\edit\\command] @=\
\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,50,00,75,00,62,\\ 00,50,00,72,00,69,00,6d,00,61,00,72,00,79,00,3e,00,74,00,57,00,7b,00,7e,00,\\ 24,00,34,00,51,00,5d,00,63,00,40,00,3f,00,46,00,40,00,36,00,6b,00,78,00,61,\\ 00,54,00,4f,00,35,00,20,00,25,00,31,00,00,00,00,00 [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\notepad.exe] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell] [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell\\edit] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell\\edit\\command] @=\\ 21,00,21,00,21,00,21,00,21,00,4d,00,4b,00,4b,00,53,00,6b,00,57,00,4f,00,52,\\ 00,44,00,46,00,69,00,6c,00,65,00,73,00,3e,00,74,00,57,00,7b,00,7e,00,24,00,\\ 34,00,51,00,5d,00,63,00,40,00,35,00,64,00,31,00,60,00,2c,00,78,00,61,00,54,\\ 00,4f,00,35,00,20,00,2f,00,6e,00,20,00,2f,00,64,00,64,00,65,00,00,00,00,00 [HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell\\edit\\ddeexec] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell\\edit\\ddeexec\\Application] @=\
[HKEY_CLASSES_ROOT\\.htm\\OpenWithList\\WinWord.exe\\shell\\edit\\ddeexec\\Topic] @=\
[HKEY_CLASSES_ROOT\\.htm\\PersistentHandler] @=\[HKEY_CLASSES_ROOT\\.html] \@=\
\
[HKEY_CLASSES_ROOT\\.html\\PersistentHandler] @=\[HKEY_CLASSES_ROOT\\htmlfile]
\@=\
\[HKEY_CLASSES_ROOT\\htmlfile\\ScriptHostEncode] @=\[HKEY_CLASSES_ROOT\\htmlfile\\shell] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\Edit] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\Edit\\command]
@=\[HKEY_CLASSES_ROOT\\htmlfile\\shell\\open] @=\
\[HKEY_CLASSES_ROOT\\htmlfile\\shell\\open\\command]
@=\[HKEY_CLASSES_ROOT\\htmlfile\\shell\\open\\ddeexec] @=\\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\open\\ddeexec\\Application] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\open\\ddeexec\\Topic] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew] @=\
\[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew\\command]
@=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew\\ddeexec] @=\\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew\\ddeexec\\Application] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew\\ddeexec\\IfExec] @=\
[HKEY_CLASSES_ROOT\\htmlfile\\shell\\opennew\\ddeexec\\Topic] @=\