excel 外部链接 乱码

Last week, I opened an Excel file, and was surprised to see a Security Warning. Apparently there were external links in the file, and I didn’t want to keep them. Here's how you can find external links in an Excel file.

上周,我打开了一个Excel文件,并惊讶地看到一个安全警告。 显然,文件中有外部链接,我不想保留它们。 这是在Excel文件中查找外部链接的方法。

This screen shot shows the warning that I saw, when I opened the file.

此屏幕快照显示了打开文件时看到的警告。

To look for the links, you can use a free add-in – there is a link at the end of this article. Or, go through the file yourself, and try to fix the links.

要查找链接,可以使用免费的加载项–本文结尾处有一个链接。 或者,您自己浏览文件,然后尝试修复链接。

手动修复 (The Manual Fix)

For reasons that I can’t remember I decided to to a manual search for the links. First, I made a backup copy of the file – just in case things went wrong. Not that anything ever goes wrong in Excel!

由于我不记得的原因,我决定手动搜索链接。 首先,我制作了文件的备份副本,以防万一出错。 在Excel中,没有任何错误!

Then, I opened the file again, clicked the Enable Content button, and started my search for those unwanted links.

然后,我再次打开文件,单击“启用内容”按钮,然后开始搜索那些不需要的链接。

看公式 (Look in the Formulas)

The first place I looked was in the workbook’s formulas. Maybe I had copied a formula from another workbook, and it was still linking back to that file. If that file is referenced in a formula, its name is enclosed in square brackets, so I used the Find command to look for those.

我首先看到的是工作簿的公式。 也许我已经从另一个工作簿中复制了一个公式,但它仍旧链接回该文件。 如果在公式中引用了该文件,则其名称括在方括号中,因此我使用“查找”命令来查找那些文件。

When I clicked the Find All button, Excel showed me a list of 18 cells that had square brackets. I clicked on the first item, and it had a reference to another file, so I’ll be able to fix that.

当我单击“查找全部”按钮时,Excel向我显示了带有方括号的18个单元格的列表。 我单击了第一项,它具有对另一个文件的引用,因此我将能够修复该问题。

There were other cells with square brackets that aren’t external links, so I ignored those. Excel table references use square brackets too, like this formula:

还有其他带有方括号的单元格不是外部链接,因此我将其忽略。 Excel表引用也使用方括号,例如以下公式:

=[@Amt]*0.07

= [@ Amt] * 0.07

It might be easier to search for “.xls” now, if the workbook has formatted tables.

如果工作簿已格式化表格,现在搜索“ .xls”可能会更容易。

修正公式 (Fix the Formulas)

The formula that I want to fix is looking up prices in another workbook’s pricing table.

我要修正的公式是在另一个工作簿的定价表中查找价格。

=VLOOKUP(C2,'D:\BlogCtx\TestFiles\[DateAmts.xlsx]Prices'!$B$2:$C$5,2,FALSE)

= VLOOKUP(C2,'D:\ BlogCtx \ TestFiles \ [DateAmts.xlsx] Prices'!$ B $ 2:$ C $ 5,2,FALSE)

I wanted to get rid of the links, and change those cells to values, so I followed these steps, to break those links:

我想摆脱链接,并将这些单元格更改为值,所以我按照以下步骤操作,以断开那些链接:

  • On the Ribbon, click the Data tab在功能区上,单击“数据”选项卡
  • In the Connections group, click Edit Links在“连接”组中,单击“编辑链接”。
  • Select the link that you want to break, and click Break Link.选择要断开的链接,然后单击“断开链接”。
  • A warning message will appear, so read it carefully – especially the part about making a backup copy. Then, click Break Links if you’re sure that’s what you want to do.将出现一条警告消息,因此请仔细阅读-特别是有关制作备份副本的部分。 然后,如果确定您要这样做,请单击“断开链接”。

Unfortunately, that didn’t change anything – the links were still in the formula.

不幸的是,那并没有改变任何东西–链接仍然在公式中。

复制并粘贴为值 (Copy and Paste As Values)

The cells were all in one column in a table, so I decided to change them to values by copying them, then pasting as values.

单元格都在表的一列中,因此我决定通过复制它们,然后将其粘贴为值来将其更改为值。

That got rid of the link in those cells – now they just contain numbers, not links.

这样就消除了这些单元格中的链接-现在它们仅包含数字,而不包含链接。

The Edit Links window was still showing a link to that workbook though, so maybe one of the workbook names had been copied too.

但是,“编辑链接”窗口仍显示到该工作簿的链接,因此也许其中一个工作簿名称也已被复制。

检查名称列表 (Check the Names List)

To see then names, click the Formulas tab on the Ribbon, then click Name Manager. In the Refers To column, you might see references to other workbooks. You can delete those names, or change them, so they refer to ranges in the active workbook.

要查看名称,请单击功能区上的“公式”选项卡,然后单击“名称管理器”。 在“引用到”列中,您可能会看到对其他工作簿的引用。 您可以删除或更改这些名称,以便它们引用活动工作簿中的范围。

I didn’t need the Product name or LocationList (I hope!), so I deleted them. I’ll check on the LocationList name later.

我不需要产品名称或LocationList(我希望!),所以我删除了它们。 稍后我将检查LocationList名称。

When I checked the Edit Links window again, the link to the DateAmts.xlsx file was gone. Hooray!

当我再次检查“编辑链接”窗口时,指向DateAmts.xlsx文件的链接消失了。 万岁!

However, there was still a link to another workbook – PartLocDBCombo.xls. I had deleted the LocationList, which referred to that workbook, so where could that link be?

但是,仍然有指向另一个工作簿的链接– PartLocDBCombo.xls。 我已经删除了引用该工作簿的LocationList,那么该链接在哪里?

检查按钮 (Check the Buttons)

Another place that links can hide is in the macros that are assigned to buttons. This workbook had 2 buttons, so I checked those next.

链接可以隐藏的另一个地方是分配给按钮的宏。 该工作簿有2个按钮,因此我接下来检查了这两个按钮。

I right-clicked on the first button, and clicked Assign Macro, to see the macro that the button runs. In this example, it was still trying to run the macro in the PartLocDBCombo.xls workbook.

我右键单击第一个按钮,然后单击“分配宏”,以查看按钮运行的宏。 在此示例中,它仍试图在PartLocDBCombo.xls工作簿中运行宏。

So, I selected a macro in the current workbook, for each button, to get rid of those links.

因此,我在当前工作簿中为每个按钮选择了一个宏,以摆脱那些链接。

关闭并重新打开文件 (Close and Reopen the File)

The Edit Links window still showed a link to PartLocDBCombo.xls, but I didn’t know of any other places to look. So, I saved the workbook, then closed and reopened it, and that got rid of the “ghost” link.

“编辑链接”窗口仍显示指向PartLocDBCombo.xls的链接,但我不知道要查找其他任何地方。 因此,我保存了工作簿,然后关闭并重新打开它,从而摆脱了“鬼影”链接。

It can be a slow and frustrating process to remove external links, so be careful what you copy into a workbook!

删除外部链接可能是一个缓慢而令人沮丧的过程,因此请小心复制到工作簿中!

使用查找链接加载项 (Use the Find Link Add-in)

For an automated way of checking for links, you can download Bill Manville's free FINDLINK.XLA program, from his website.

对于自动检查链接的方法,您可以从他的网站下载Bill Manville的免费FINDLINK.XLA程序 。

After you install the add-in, it will appear as a menu item on the Ribbon’s Add-Ins tab. Click the Find Links command, to open the Link Finder window.

安装外接程序后,它将作为菜单项显示在功能区的“外接程序”选项卡上。 单击“查找链接”命令,以打开“链接查找器”窗口。

Select a file name from the drop down list, then select one of the options for working with those links.

从下拉列表中选择一个文件名,然后选择用于处理这些链接的选项之一。

隐藏在其他地方的链接 (Links Hidden in Other Places)

Read the comments below, to see some other places that people have found links in their Excel files. For example:

阅读下面的评论,以查看人们在其Excel文件中找到链接的其他地方。 例如:

  • Conditional Formatting (see comment)

    条件格式( 请参阅注释 )

  • Graph data (see comment)

    图形数据( 请参阅注释 )

  • Hidden worksheets (see comment)

    隐藏的工作表( 请参阅评论 )

  • Data Validation rules (see comment)

    数据验证规则( 请参阅注释 )

  • Table formulas (see comment)

    表公式( 请参阅注释 )

  • Chart axis (see comment)

    图表轴( 请参阅注释 )

Also, see Rag's comment with steps for finding error cells in Excel 2013. ______________________

另外, 请参阅Rag的注释以及在Excel 2013中查找错误单元的步骤。______________________

翻译自: https://contexturesblog.com/archives/2013/11/12/find-external-links-in-an-excel-file/

excel 外部链接 乱码


http://www.taodudu.cc/news/show-4340083.html

相关文章:

  • Windows2000、XP、2003系统万能Ghost全攻略(转)
  • 打造XP系统万能克隆-Ghost全攻略
  • Windows操作系统万能Ghost全攻略
  • 【日常折腾】重新安装Windows7,做好ghost备份,迁移主目录,日常软件office,chrome,搜狗输入法,电脑管家,一键ghost进行备份。
  • Verisiondog自动化系统备份
  • 微信支付授权目录设置流程
  • Android 微信登录授权、微信分享
  • 企业微信 事件接收服务器,授权通知事件
  • 因微信网页授权调整解决方案
  • UBports安装Arduino记录
  • 高通410的随身WiFi公网访问实现远程投屏,远程命令教程
  • Android Studio下Terminal窗口Window下cmd黑窗口中使用adb命令调试精炼详解
  • 项目-Holocubic透明桌面站(基于STM32)
  • stm32f103利用HC06进行蓝牙通信,在7针的OLED屏幕上显示,带数据更新功能(带超详细讲解)
  • 005.Python制作客户端截屏通过合宙ESP32-C3投屏到0.96OLED
  • PS素描效果
  • C# 调用摄像头解析二维码
  • ZXing 生成二维码和条形码
  • LQ0141 纸张尺寸【水题】
  • 时间序列的分析和预测
  • 上帝或许不掷骰子,但可能会踢足球|图片中的数学之美
  • 分析时间序列数据的六个图表
  • mac使用收录
  • UI的设计风格
  • 学界 | 大数据背景下,景观研究怎么做?
  • arima模型python_Python中的Arima模型进行温度预测
  • 基于SARIMA、XGBoost和CNN-LSTM的时间序列预测对比
  • 《精要主义》读书笔记(一)
  • 区块链基础入门笔记 一
  • 区块链基本概念学习笔记

excel 外部链接 乱码_在Excel文件中查找外部链接相关推荐

  1. excel 查询 表关联_从Excel查询表获取里程

    excel 查询 表关联 There is a new sample file on my website, in response to a lookup question that someone ...

  2. excel导入数据校验_使用Excel数据验证限制日期范围

    excel导入数据校验 Yesterday, one of my clients emailed to let me know that she was having trouble entering ...

  3. matlab中将数据导出到Excel表格、.txt、.xml等文件中

    本人应用例子 导出效果:第一行为提示,所以在设置表格行数时需要+1,如上图 matlab官网例子 load patients.mat T = table(LastName,Age,Weight,Smo ...

  4. 从word、wps、excel、pdf和txt文件中查找文本的工具

    从word.wps.excel.pdf和txt文件中查找文本的工具. 因工作中要经常从大量word文档中查找固定的文本,所以自己就做了本工具. 可以批量从doc.docx.wps.xls.xlsx.p ...

  5. 能否用痰盂盛饭——谈谈在头文件中定义外部变量

    能否用痰盂盛饭--谈谈在头文件中定义外部变量 - garbageMan - 博客园 能否用痰盂盛饭--谈谈在头文件中定义外部变量 "能否用痰盂盛饭"并非是一个技术问题,而是一个哲学 ...

  6. 在linux中的文件中查找_如何在Linux中查找文件

    在linux中的文件中查找 如果您是Windows用户或OSX的非超级用户,则可能使用GUI查找文件. 您可能还会发现界面有限,令人沮丧或两者兼而有之,并且学会了精于组织事物并记住文件的确切顺序. 您 ...

  7. 解决md文件中本地图片链接失效的方法

    #markdown# #typora# 使用typora进行markdown创作时,可以将图片的路径改为相对路径,这样就能解决移动md文件时本地图片的失效问题了. 具体操作是:点击[文件]→[偏好设置 ...

  8. grep检索关键字的命令_文件中查找关键字“ ”命令 grep

    sudo grep -irn 'COMPILE'  .  //  "." 当前目录下 关键字为'COMPILE' sudo grep -i 'COMPILE'    ltls.c ...

  9. idea在java文件中查找_Java开发工具IntelliJ IDEA使用源代码系列教程(四):在文件中搜索目标...

    IntelliJ IDEA是Java语言开发的集成环境,IntelliJ在业界被公认为优秀的Java开发工具之一,尤其在智能代码助手.代码自动提示.重构.J2EE支持.Ant.JUnit.CVS整合. ...

最新文章

  1. Nature综述:菌根共生的独特性和共性
  2. 计算机和人类“看”法不同,但这重要么?
  3. (转载)浅析HTTP协议
  4. jittor和pytorch生成网络对比之cyclegan
  5. Windows系统调用学习笔记(四)—— 系统服务表SSDT
  6. python做乘法运算定律_最新乘法运算定律专项练习题
  7. boost::hana::is_an用法的测试程序
  8. 大于2的质数判断以及范围质数查找
  9. 原创:MS Dynamics AX - XBRL 功能
  10. Working context and Functional profile
  11. osg专业名词:LOD、数据分页、动态调度
  12. MySQL优化(四):count()
  13. worth,worthy,worthwhile的区别(一)
  14. 研究生,怎么经济独立?
  15. imread函数_不知道这 7 大 OpenCV 函数怎么向计算机视觉专家进阶?
  16. mc服务器常用指令_我的世界:游戏内高频使用指令,这个“神秘代码”你用过吗?...
  17. 砸金蛋vue插件_小程序商城系统插件代码该如何写?
  18. 【路径规划】基于matlab自动化拣货最优路径【含Matlab源码 1713期】
  19. 简单开发一个java 插件式demo
  20. 基于Matlab科技论文绘图:plot、imagesc

热门文章

  1. jit和jitx区别_JIT的核心思想是什么?
  2. 使用Google语音识别引擎(Google Speech API)
  3. crout分解计算例题_如何计算有理函数的不定积分
  4. 图形推理1000题pdf_行测80分秒杀技——图形推理满分√
  5. win7系统打印机开启服务器,开启打印机服务【设置模式】
  6. Axway API Management以及移动互联技术实现价值型
  7. 2017常见android面试题
  8. PDF如何删除数字签名
  9. Cantor表 [cantor]
  10. 商业银行内容管理和档案管理