您知道如何将文本框链接到Excel中的单元格吗？ 这样，您可以使用文本框设置单元格值的格式并更改文本框的颜色，并且当更改链接单元格中的值时，文本框将自动更新。 本文将向您展示将文本框快速链接到Excel中特定单元格的绝妙技巧。
在Microsoft Excel中，我们可以将文本框链接到特定的单元格，以在文本框中显示链接的单元格内容。 此外，如果更改链接单元格的值，则文本框将自动更新。 您可以按照以下步骤进行操作：
步骤1：点击 文本框 按钮下 插页 标签，然后在工作表中插入一个文本框。
步骤2：在选中文本框后，将光标置于编辑栏中，键入 = 符号，然后单击要链接的单元格，最后按 输入 键。 看截图：
You are guest
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 9 months agoPlease refer attached snap
To post as a guest, your comment is unpublished.· 9 months agoTo 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.· 1 years agoIs 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.· 2 years agoHow to give a link from textbox to cell
Not from cell to textbox
To post as a guest, your comment is unpublished.· 2 years agoThank 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.· 3 years agoI 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.· 5 years agoIs 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.· 3 years agoDear 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.
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Column = 3 Then ActiveSheet.TextBox1.Text = Target
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.· 5 years agoHello,
This information is very useful thank you! Is there a way to do the opposite? Link a cell to the textbox?
To post as a guest, your comment is unpublished.· 6 years agoIs 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?