ไปยังเนื้อหาหลัก

วิธีเชื่อมโยง textbox กับเซลล์เฉพาะใน Excel

คุณรู้วิธีเชื่อมโยงกล่องข้อความกับเซลล์ใน Excel หรือไม่? เมื่อทำเช่นนี้คุณสามารถจัดรูปแบบค่าเซลล์ด้วยกล่องข้อความและเปลี่ยนสีของกล่องข้อความและเมื่อค่าในเซลล์ที่เชื่อมโยงมีการเปลี่ยนแปลงกล่องข้อความจะอัปเดตโดยอัตโนมัติ บทความนี้จะแสดงเคล็ดลับเด็ดในการเชื่อมโยงกล่องข้อความกับเซลล์เฉพาะใน Excel อย่างรวดเร็ว

เชื่อมโยงกล่องข้อความกับเซลล์เฉพาะใน Excel


เชื่อมโยงกล่องข้อความกับเซลล์เฉพาะใน Excel

ใน Microsoft Excel เราสามารถเชื่อมโยงกล่องข้อความไปยังเซลล์ใดเซลล์หนึ่งเพื่อแสดงเนื้อหาของเซลล์ที่เชื่อมโยงในกล่องข้อความ ยิ่งไปกว่านั้นหากค่าของเซลล์ที่เชื่อมโยงมีการเปลี่ยนแปลงกล่องข้อความจะอัปเดตโดยอัตโนมัติ คุณสามารถทำได้โดยทำตามขั้นตอนต่อไปนี้:

ขั้นตอนที่ 1: คลิกปุ่ม กล่องข้อความ ใต้ปุ่ม สิ่งที่ใส่เข้าไป และแทรกกล่องข้อความในแผ่นงานของคุณ

ขั้นตอนที่ 2: ในขณะที่กล่องข้อความถูกเลือกให้วางเคอร์เซอร์ของคุณในแถบสูตรให้พิมพ์ = จากนั้นคลิกที่เซลล์ที่คุณต้องการเชื่อมโยงจากนั้นกดปุ่ม เข้าสู่ สำคัญ. ดูภาพหน้าจอ:

ตอนนี้กล่องข้อความจะแสดงเนื้อหาของเซลล์ A3 ที่เชื่อมโยงในกล่องข้อความ นอกจากนี้เมื่อเราเปลี่ยนเนื้อหาในเซลล์ A3 ที่เชื่อมโยงเนื้อหาในกล่องข้อความจะอัปเดตโดยอัตโนมัติ


สุดยอดเครื่องมือเพิ่มผลผลิตในสำนักงาน

🤖 Kutools AI ผู้ช่วย: ปฏิวัติการวิเคราะห์ข้อมูลโดยยึดตาม: การดำเนินการที่ชาญฉลาด   |  สร้างรหัส  |  สร้างสูตรที่กำหนดเอง  |  วิเคราะห์ข้อมูลและสร้างแผนภูมิ  |  เรียกใช้ฟังก์ชัน Kutools...
คุณสมบัติยอดนิยม: ค้นหา เน้น หรือระบุรายการที่ซ้ำกัน   |  ลบแถวว่าง   |  รวมคอลัมน์หรือเซลล์โดยไม่สูญเสียข้อมูล   |   รอบโดยไม่มีสูตร ...
การค้นหาขั้นสูง: VLookup หลายเกณฑ์    VLookup หลายค่า  |   VLookup ข้ามหลายแผ่น   |   การค้นหาที่ไม่ชัดเจน ....
รายการแบบเลื่อนลงขั้นสูง: สร้างรายการแบบหล่นลงอย่างรวดเร็ว   |  รายการแบบหล่นลงขึ้นอยู่กับ   |  เลือกหลายรายการแบบหล่นลง ....
ผู้จัดการคอลัมน์: เพิ่มจำนวนคอลัมน์เฉพาะ  |  ย้ายคอลัมน์  |  สลับสถานะการมองเห็นของคอลัมน์ที่ซ่อนอยู่  |  เปรียบเทียบช่วงและคอลัมน์ ...
คุณสมบัติเด่น: กริดโฟกัส   |  มุมมองการออกแบบ   |   บาร์สูตรใหญ่    สมุดงานและตัวจัดการชีต   |  ห้องสมุดทรัพยากร (ข้อความอัตโนมัติ)   |  เลือกวันที่   |  รวมแผ่นงาน   |  เข้ารหัส/ถอดรหัสเซลล์    ส่งอีเมลตามรายการ   |  ซุปเปอร์ฟิลเตอร์   |   ตัวกรองพิเศษ (กรองตัวหนา/ตัวเอียง/ขีดทับ...) ...
ชุดเครื่องมือ 15 อันดับแรก12 ข้อความ เครื่องมือ (เพิ่มข้อความ, ลบอักขระ, ... )   |   50 + แผนภูมิ ประเภท (แผนภูมิ Gantt, ... )   |   40+ ใช้งานได้จริง สูตร (คำนวณอายุตามวันเกิด, ... )   |   19 การแทรก เครื่องมือ (ใส่ QR Code, แทรกรูปภาพจากเส้นทาง, ... )   |   12 การแปลง เครื่องมือ (ตัวเลขเป็นคำ, การแปลงสกุลเงิน, ... )   |   7 ผสานและแยก เครื่องมือ (แถวรวมขั้นสูง, แยกเซลล์, ... )   |   ... และอื่น ๆ

เพิ่มพูนทักษะ Excel ของคุณด้วย Kutools สำหรับ Excel และสัมผัสประสิทธิภาพอย่างที่ไม่เคยมีมาก่อน Kutools สำหรับ Excel เสนอคุณสมบัติขั้นสูงมากกว่า 300 รายการเพื่อเพิ่มประสิทธิภาพและประหยัดเวลา  คลิกที่นี่เพื่อรับคุณสมบัติที่คุณต้องการมากที่สุด...

รายละเอียด


แท็บ Office นำอินเทอร์เฟซแบบแท็บมาที่ Office และทำให้งานของคุณง่ายขึ้นมาก

  • เปิดใช้งานการแก้ไขและอ่านแบบแท็บใน Word, Excel, PowerPoint, ผู้จัดพิมพ์, Access, Visio และโครงการ
  • เปิดและสร้างเอกสารหลายรายการในแท็บใหม่ของหน้าต่างเดียวกันแทนที่จะเป็นในหน้าต่างใหม่
  • เพิ่มประสิทธิภาพการทำงานของคุณ 50% และลดการคลิกเมาส์หลายร้อยครั้งให้คุณทุกวัน!
Comments (10)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Please refer attached snap
This comment was minimized by the moderator on the site
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?
This comment was minimized by the moderator on the site
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
This comment was minimized by the moderator on the site
How to give a link from textbox to cell
Not from cell to textbox
This comment was minimized by the moderator on the site
Thank you very much for your this useful post. I rescue me from trucking in how to do paste data onto the text box.
This comment was minimized by the moderator on the site
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?
This comment was minimized by the moderator on the site
Is it possible to link multiple cells to the same text box so clicking different cells displays different text?
This comment was minimized by the moderator on the site
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!
This comment was minimized by the moderator on the site
Hello, This information is very useful thank you! Is there a way to do the opposite? Link a cell to the textbox? Thank you
This comment was minimized by the moderator on the site
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?
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations