如何在Excel中輕松提取注釋內容?

如何在Excel中輕松提取注釋內容?
在某些情況下,我們需要將單元格的注釋內容提取到單元格以更好地查看或分析,如下面的屏幕截圖所示。 但是在Excel中,沒有內置函數可以對此有所幫助。 但是,這里有一些技巧可以幫助您快速輕松地解決此問題。
使用定義的函數提取注釋內容
列出活動工作表或工作簿的所有評論內容 Kutools for Excel
使用定義的函數提取注釋內容
驚人的! 在 Excel 中使用高效的選項卡,如 Chrome、Firefox 和 Safari!
每天節省50%的時間,并減少數千次鼠標單擊!
在Excel中,除“定義的函數”外,沒有公式可以提取注釋內容。
1。 按 Alt + F11鍵 啟用 Microsoft Visual Basic應用程序 窗口。
2。 點擊 插頁 > 模塊,將代碼復制并粘貼到空白的新模塊中。
代碼:提取注釋
Function getComment(xCell As Range) As String
UpdatebyExtendoffice20180330
On Error Resume Next
getComment = xCell.Comment.Text
End Function
3. Save the code and go back to the sheet you want to extract comment contents, type =getComment(B2) in a cell which will place the comment content at, and press Enter key. Then you can see the comment has been displayed in the cell. You can drag fill handle down to extract comments as you need.
List all comment contents of active sheet or workbook with Kutools for Excel
If you want to list all comment contents of the active sheet or current workbook, the Defined Function is not convenience. But Kutools for Excel’s Create Comment List function can quickly and easily handle this job.
Kutools for Excel, with more than 300 handy functions, makes your jobs more easier.
Free Downloadfree full-featured in 30 days
After free installing Kutools for Excel, please do as below:
1. click Kutools > More (in the Editing group) > Create Comment List. See screenshot:
2. In the Create Comment List dialog, select the scope you want to list the comment, Active sheet or All sheets, then choose to place the comments in a new workbook or a new sheet of current workbook.
3. click Create. Now all comments have been listed one by one in a sheet.
Demo
Best office Productivity Tools
Transform Hours into Minutes with Kutools for Excel!
Ready to supercharge your Excel tasks? Harness the power of Kutools for Excel - your ultimate time-saving tool. Streamline intricate tasks and glide through your data like a pro. Experience Excel at lightning speed!
Why You Need Kutools for Excel
??? Over 300 Powerful Features: Kutools is packed with more than 300 advanced features, simplifying your work in over 1500 scenarios.
?? Superior Data Processing: Merge cells, remove duplicates, and perform advanced data conversions – all without breaking a sweat!
?? Efficient Batch Operations: Why put in extra effort when you can work smart? Import, export, combine, and tweak data in bulk with ease.
?? Customizable Charts and Reports: Access a broad variety of additional charts and generate insightful reports that tell a story.
??? Powerful Navigation Pane: Gain an advantage with the robust Column Manager, Worksheet Manager, and Custom Favorites.
?? Seven Types of Drop-down Lists: Make data entry a breeze with drop-down lists of various features and types.
?? User-Friendly: A breeze for beginners and a powerful tool for experts.
Download Now and Soar Through Time with Excel!
Read More... Free Download... Purchase...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
Open and create multiple documents in new tabs of the same window, rather than in new windows.
Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
Read More... Free Download... Purchase...
Copy
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。
版權聲明:本文內容由網絡用戶投稿,版權歸原作者所有,本站不擁有其著作權,亦不承擔相應法律責任。如果您發現本站中有涉嫌抄襲或描述失實的內容,請聯系我們jiasou666@gmail.com 處理,核實后本網站將在24小時內刪除侵權內容。