How to get date and time after double clicking in particular cell.

PrincePrashant

New Member
Joined
Nov 4, 2017
Messages
3
One of my friend prepared some checklist where all the required staff was asked to put processor id in one column and in other the current date and time. When we double click the cell then automatically the processor id and date & time get pop up. I tried from my end but did not get any answer. Processor id means company provided login id which we use to login into citrix and open all required excel, outlook and other applications.
 

Excel Facts

Links? Where??
If Excel says you have links but you can't find them, go to Formulas, Name Manager. Look for old links to dead workbooks & delete.
Hi,

Try this : column A contain the processor id and column B the date&time

Sub Popup()
For i = 2 To Cells(Rows.Count, "A").End(xlUp).Row


Range("A" & i).ClearComments
Range("B" & i).ClearComments

If Range("A" & i) = "" Then GoTo 1

Range("A" & i).AddComment
Range("A" & i).Comment.Visible = False
Range("A" & i).Comment.Text Text:="" & Range("A" & i).Value & " - " & Range("B" & i).Value
1
Next i
End Sub
 
Upvote 0
If it is okay with you to enter the processor id in D2 then E2 will display the date

E2 =INDEX(B2:B8,MATCH(D2,A2:A8,0))
 
Upvote 0

Forum statistics

Threads
1,216,084
Messages
6,128,724
Members
449,465
Latest member
TAKLAM

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top