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

วิธีแปลงเนื้อหาของเซลล์เป็นข้อคิดเห็นใน Excel

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

แปลงเนื้อหาของเซลล์เป็นความคิดเห็นด้วย รหัส VBA

แปลงเนื้อหาของเซลล์เป็นความคิดเห็นได้อย่างรวดเร็วด้วย Kutools สำหรับ Excel


ลูกศรสีฟ้าฟองขวา แปลงเนื้อหาของเซลล์เป็นความคิดเห็นด้วยรหัส VBA

รหัส VBA สั้น ๆ ต่อไปนี้สามารถช่วยคุณในการแปลงเนื้อหาของเซลล์เป็นข้อคิดเห็นและคุณสามารถใช้รหัสตามขั้นตอนต่อไปนี้:

1. เลือกช่วงของค่าเซลล์ที่คุณต้องการแปลงเป็นความคิดเห็น

2. คลิก ผู้พัฒนา > ของ Visual Basicใหม่ Microsoft Visual Basic สำหรับแอปพลิเคชัน หน้าต่างจะปรากฏขึ้นให้คลิก สิ่งที่ใส่เข้าไป > โมดูลและใส่รหัสต่อไปนี้ลงในโมดูล:

Sub CellToComment()
'Updateby20140509
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "KutoolsforExcel"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    Rng.NoteText Text:=Rng.Value
Next
End Sub

3จากนั้นคลิก doc- หาร -5 ปุ่มเพื่อรันโค้ด และกล่องโต้ตอบจะปรากฏขึ้นเพื่อให้คุณเลือกช่วงที่จะแปลงจากนั้นคลิก OKจากนั้นเนื้อหาของเซลล์ที่เลือกทั้งหมดจะถูกแปลงเป็นความคิดเห็น ดูภาพหน้าจอ:


doc-cells-to-comment1 -2 doc-cells-to-comment2

ลูกศรสีฟ้าฟองขวาแปลงเนื้อหาของเซลล์เป็นความคิดเห็นอย่างรวดเร็วด้วย Kutools for Excel

ในฐานะผู้เริ่มต้นใช้งาน Excel โค้ด VBA นั้นยากสำหรับคุณเล็กน้อย ดังนั้นฉันจะแนะนำวิธีง่ายๆในการจัดการกับปัญหานี้

Kutools สำหรับ Excel : ด้วย Add-in ของ Excel ที่มีประโยชน์มากกว่า 300 รายการทดลองใช้ฟรีโดยไม่มีข้อ จำกัด ใน 30 วัน Get it Now

หากคุณได้ติดตั้ง Kutools for Excel ไฟล์ แปลงความคิดเห็นและเซลล์ of Kutools สามารถช่วยให้คุณแปลงเนื้อหาของเซลล์เป็นความคิดเห็นได้อย่างรวดเร็วและสะดวก โปรดดำเนินการดังนี้:

1. เน้นช่วงที่คุณต้องการแปลงเป็นความคิดเห็น

2. คลิก Kutools > More > แปลงความคิดเห็นและเซลล์ดูภาพหน้าจอ:

3. ใน แปลงความคิดเห็นและเซลล์ ใหเลือก แปลงเนื้อหาของเซลล์เป็นความคิดเห็น ตัวเลือก ดูภาพหน้าจอ:

4. คลิก OK. และเนื้อหาของเซลล์ที่เลือกทั้งหมดจะถูกแปลงเป็นความคิดเห็นของเซลล์ ดูภาพหน้าจอ:

กับ แปลงความคิดเห็นและเซลล์ คุณยังสามารถแปลงความคิดเห็นเป็นเนื้อหาของเซลล์ สำหรับข้อมูลเพิ่มเติมเกี่ยวกับ แปลงความคิดเห็นและเซลล์กรุณาเยี่ยมชม แปลงคำอธิบายคุณลักษณะของความคิดเห็นและเซลล์.


บทความที่เกี่ยวข้อง:

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

🤖 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 (7)
No ratings yet. Be the first to rate!
This comment was minimized by the moderator on the site
Is there any plan to convert to Comments instead of notes for the functionality of the new Excel versions?
This would be very helpful

Here is a VBA that works but a Kutools shortcut would be nice as it would work in any file extension instead of only Macro compatible

Convert Cell Content to Comment
Sub ConvertToComment()
Dim C As Range
For Each C In Selection
C.ClearComments
If Len(C.Value) > 0 Then
C.AddComment
C.Comment.Text C.Value & ""
End If
'Optional: Delete cell content after converting
C.ClearContents
Next C
End Sub
This comment was minimized by the moderator on the site
hi! hi about new Excel comments option, not notes?
This comment was minimized by the moderator on the site
Hi, I use this macro to check old values in a range of cell. How can add comments to existing comments with a text. eg - first value is 1000. then I run the macro is must come as "was 1000" in comments. now I have changed value to 900. Next time I run the macro on same cell or cells it must show as "was900 was1000" now changed value to 800. so when I check cell comments I can see value actually dropped from 1000 to 900 and currently it is 800.
This comment was minimized by the moderator on the site
I need help to enter new row. However there are few condition . 1.> I need each row for Col A1(for ID# i.e. A1, A2..A25) as progressive addition when every time new row is entered. If , I'm entering new row after A20 then next row should have ID# as A21. It should always insert the row below last used row. 2.> Similarily, I need to add in progressive hyperlink cell value in the column "H1" onward. Is this possible, If yes, please advise.
This comment was minimized by the moderator on the site
I'm using Excel 2010 and facing same issue i.e. when char length is more than it skip to convert in comment. Please could you please advise as what change needs to be made in code to not limit the char length.
This comment was minimized by the moderator on the site
what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters converted
This comment was minimized by the moderator on the site
[quote]what is the string length limit for the conversion? It appears cells with Cell content longer than 255 are skipped. It would at least be better to get the first 255 characters convertedBy Darrel Stickler[/quote] Hello, please tell me the version information of your Excel. There is no such issue with Kutools for Excel 7.00. :) please contact me at jaychivo#extendoffice.com
There are no comments posted here yet
Please leave your comments in English
Posting as Guest
×
Rate this post:
0   Characters
Suggested Locations