📊 VBA (Excel)
Add Timestamp to Active Cell
Inserts the current date and time into the active cell — handy bound to a keyboard shortcut for quick logging.
AddTimestampToActiveCell.bas
Attribute VB_Name = "AddTimestampToActiveCell"
Option Explicit
Public Sub AddTimestampToActiveCell()
ActiveCell.Value = Format(Now, "yyyy-mm-dd hh:nn:ss")
End Sub