Note: The other languages of the website are Google-translated. Back to English
登陆  \/ 
x
or
x
点此注册  \/ 
x

or

如何将文本框链接到Excel中的特定单元格?

您知道如何将文本框链接到Excel中的单元格吗? 这样,您可以使用文本框设置单元格值的格式并更改文本框的颜色,并且当更改链接单元格中的值时,文本框将自动更新。 本文将向您展示将文本框快速链接到Excel中特定单元格的绝妙技巧。

将文本框链接到Excel中的特定单元格


将文本框链接到Excel中的特定单元格

在Microsoft Excel中,我们可以将文本框链接到特定的单元格,以在文本框中显示链接的单元格内容。 此外,如果更改链接单元格的值,则文本框将自动更新。 您可以按照以下步骤进行操作:

步骤1:点击 文本框 按钮下 插页 标签,然后在工作表中插入一个文本框。

步骤2:在选中文本框后,将光标置于编辑栏中,键入 = 符号,然后单击要链接的单元格,最后按 输入 键。 看截图:

现在,文本框在文本框中显示链接的单元格A3的内容。 此外,当我们更改链接的单元格A3中的内容时,文本框中的内容将自动更新。



最佳办公效率工具

Kutools for Excel解决了您的大多数问题,并使您的生产率提高了80%

  • 重用: 快速插入 复杂的公式,图表 以及您以前使用过的任何东西; 加密单元 带密码 创建邮件列表 并发送电子邮件...
  • 超级公式栏 (轻松编辑多行文本和公式); 阅读版式 (轻松读取和编辑大量单元格); 粘贴到过滤范围...
  • 合并单元格/行/列 不会丢失数据; 拆分单元格内容; 合并重复的行/列...防止细胞重复; 比较范围...
  • 选择重复或唯一 行; 选择空白行 (所有单元格都是空的); 超级查找和模糊查找 在许多工作簿中; 随机选择...
  • 确切的副本 多个单元格,无需更改公式参考; 自动创建参考 到多张纸; 插入项目符号,复选框等...
  • 提取文字,添加文本,按位置删除, 删除空间; 创建和打印分页小计; 在单元格内容和注释之间转换...
  • 超级滤镜 (将过滤方案保存并应用于其他工作表); 高级排序 按月/周/日,频率及更多; 特殊过滤器 用粗体,斜体...
  • 结合工作簿和工作表; 根据关键列合并表; 将数据分割成多个工作表; 批量转换xls,xlsx和PDF...
  • 超过300种强大功能。 支持Office / Excel 2007-2019和365。支持所有语言。 在您的企业或组织中轻松部署。 完整功能30天免费试用。 60天退款保证。
kte选项卡201905

Office选项卡为Office带来了选项卡式界面,使您的工作更加轻松

  • 在Word,Excel,PowerPoint中启用选项卡式编辑和阅读,发布者,Access,Visio和Project。
  • 在同一窗口的新选项卡中而不是在新窗口中打开并创建多个文档。
  • 每天将您的工作效率提高50%,并减少数百次鼠标单击!
officetab底部
Say something here...
symbols left.
You are guest
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    piyush.barapatre@gmail.com · 9 months ago
    Please refer attached snap

  • To post as a guest, your comment is unpublished.
    piyush.barapatre@gmail.com · 9 months ago
    To reduce manual error of not updating particular value in text box which ideally should be same as page no. in top right cell, so I was thinking if we could link the content in text box with the content in cell.
    Can anyone help me on this?
  • To post as a guest, your comment is unpublished.
    Vipin · 1 years ago
    Is there any way I can change a negative number (coming through a link) in a text box with bracket in place of "-ve" sign
  • To post as a guest, your comment is unpublished.
    abthahir5@gmail.com · 2 years ago
    How to give a link from textbox to cell
    Not from cell to textbox
  • To post as a guest, your comment is unpublished.
    Michael Leng · 2 years ago
    Thank you very much for your this useful post. I rescue me from trucking in how to do paste data onto the text box.
  • To post as a guest, your comment is unpublished.
    Jim Burley · 3 years ago
    I have part numbers that I put in my spreadsheet for certain machines using a text box. Now, how can I search for the part number that is in a text box in Excel?
  • To post as a guest, your comment is unpublished.
    Uknown · 5 years ago
    Is it possible to link multiple cells to the same text box so clicking different cells displays different text?
    • To post as a guest, your comment is unpublished.
      crystal · 3 years ago
      Dear guy,
      Please insert an ActiveX textbox in your worksheet first. Then right click the sheet tab, select View Code from the right-clicking menu, copy and paste below VBA code into the Code window.
      VBA code:
      Private Sub Worksheet_SelectionChange(ByVal Target As Range)

      If Target.Column = 3 Then ActiveSheet.TextBox1.Text = Target
      End Sub
      Note: In the above code, the number 3 indicates the column number which your linked cells locate, and Textbox1 is the textbox name you inserted, please change them to your need.
      Thank you for your comment!
  • To post as a guest, your comment is unpublished.
    slj · 5 years ago
    Hello,

    This information is very useful thank you! Is there a way to do the opposite? Link a cell to the textbox?

    Thank you
  • To post as a guest, your comment is unpublished.
    UKNOWINVU2 · 6 years ago
    Is it possible to also link the color? For example, if the cell is red can the text box fill color also be set red automatically?