Timestamp help!

ownerhelp

New Member
Joined
Sep 13, 2011
Messages
2
I have a hyperlink macro counter in Sheet1 that puts the number of times I click on the word "open script" next to that cell. For example if i click on "open script" that is located in A1 the number 1 appears on B1. If I click on "open script" again the number 2 appears in B1 and it keeps adding it up everytime I click "Open Script". I want to timestamp Column C1 every time B1 changes but keeps adding a timestamp below it. For example:

A
Open Script

B1
3

C1
9/13/2011 12:01:03
9/13/2011 12:01:52
9/13/2011 12:02:14

can someone please help me I need this before the end of the day!!
 
Last edited:

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
hi, something like the below
would need to save the last value of B1 somewhere (i have used Y2)

Code:
dim count as long
dim counta as long
dim countb as long
 
count = worksheets("Sheet1").range("B1").value
counta = worksheets("Sheet1").range("Y2").value
countb = Application.CountA(Range("C:C")) + 1
 
if count = counta then
'nothing
else
worksheets("Sheet1").range("c"&countb).value = count + 1
end if
 
Upvote 0

Forum statistics

Threads
1,224,586
Messages
6,179,728
Members
452,939
Latest member
WCrawford

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