excel2007如何取消链接
发布时间:2017-03-02 10:13
相关话题
在我们使用的excel2007里,我们通常都会设置一些链接,这样链接不需要时该如何取消呢。下面让小编为你带来excel2007取消链接的方法。
excel2007取消链接步骤:
方法一:选择性粘贴
第一步、选中需要取消超链接的所有单元格;

第二步、单击鼠标右键,选择“复制”;

第三步、选中任一空白单元格,单击鼠标右键,选择“选择性粘贴”;

第四步、在弹出的对话框中选择“数值”,点击“确定”;


第五步、再把原来带有超链接的单元格删掉就OK了;如果数据量太大,嫌删除太麻烦的,可以新建一个工作簿,把复制的内容直接“选择性粘贴”至新的工作簿,再保存就可以了;

方法二:宏方法
第一步、打开“视图”选项,选择“宏”,下拉框中选择“录制宏”;

第二步、输入宏名;

第三步、点击“宏”-“查看宏”-选中相应的宏-“编辑”;


第四步、在弹出的宏编辑器中,输入相应代码,具体为:
Sub ZapHyperlinks()
Cells.Hyperlinks.Delete
End Sub
其中,第一行和第三行是自带的不变,把中间的内容修改为上面的“Cells.Hyperlinks.Delete”,就可以了,然后关闭编辑器;

第五步、点击“宏”-“查看宏”-“执行”,超链接批量取消完成;


关于excel2007链接的相关文章推荐:
excel2007链接数据库的方法
excel2007链接表操作的教程
excel2007如何取消链接的评论条评论