How to pop up the cell value while clicking in Excel?
Have you ever tried to place the cell value in a pop-up message while clicking in Excel? Actually, this job is impossible. But we can place the cell value in a comment to pretend a pop-up message as below screenshot shown.
Here is a macro code that can automatically add the value to comment while clicking at the cell.
1. Right-click on the sheet tab you use, and select View Code from the context menu. See screenshot:
2. In the popping Microsoft Visual Basic for Applications window, paste below code to the script.
VBA: Add comment while clicking
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Application.ScreenUpdating = False
If Target.Count > 1 Then Exit Sub
If Target.Value = "" Then Exit Sub
Application.ScreenUpdating = True
3. Then save the code and go back to the sheet, the cell value will be added to the comment while clicking the cell.
Note: This VBA cannot add comments for all kinds of number cells, such as numbers, currencies, dates, etc.
Pop up cell value with add value to comment by Kutools
If you want to add each cell value of a range to the relative comment, you can apply Kutools for Excel’s Convert Comment and Cell utility.
Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
More than 300 powerful features. Supports Office/Excel
2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features
30-day free trial. 60-day money back guarantee.