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:在選中文本框後,將光標置於編輯欄中,鍵入 = 符號,然後單擊要鏈接的單元格,最後按 Enter 鍵。 看截圖:

現在,文本框在文本框中顯示鏈接的單元格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?