How to link textbox to a specific cell in Excel?
Do you know how to link textbox to a cell in Excel? By doing this, you can format the cell value with the textbox and change the textbox color, and when the value in the linked cell is changed, the textbox will update automatically. This article will show you the cool trick to link a textbox to a specific cell in Excel quickly.
Recommended Productivity Tools
In Microsoft Excel we can link a textbox to a specific cell to show the linked cell content in the text box. What's more, if the value of the linked cell is changed, the textbox will update automatically. You can do it with following steps:
Step 1: Click the Text Box button under Insert tab, and insert a textbox in your worksheet.
Step 2: While text box is selected put your cursor in the formula bar, type in = symbol and then click on the cell you want to link to, and finally press the Enter key. See screenshot:
Now the textbox displays the content of linked Cell A3 in the textbox. In addition, when we change the content in linked Cell A3, the content in textbox will update automatically.
Recommended Productivity Tools
Bring handy tabs to Excel and other Office software, just like Chrome, Firefox and new Internet Explorer.
Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!
200 New Features for Excel, Make Excel Much Easy and Powerful:
- Merge Cell/Rows/Columns without Losing Data.
- Combine and Consolidate Multiple Sheets and Workbooks.
- Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
- Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
- More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
To post as a guest, your comment is unpublished.· 3 months 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.· 2 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.· 8 months 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.· 2 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.· 3 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?