Home |
Search |
Today's Posts |
#3
![]() |
|||
|
|||
![]()
Try This.
Sub Time_Stamp() ' ' Time_Stamp Macro ' ' ActiveCell.Offset(0, -1).Range("A1").Select ActiveCell.FormulaR1C1 = "=NOW()" ActiveCell.Select Selection.Copy Selection.PasteSpecial Paste:=xlValues, Operation:=xlNone, SkipBlanks:= _ False, Transpose:=False Application.CutCopyMode = False Selection.NumberFormat = "h:mm" ActiveCell.Columns ("A:A").EntireColumn.EntireColumn.AutoFit End Sub -----Original Message----- Hello, I'm trying to make a control button that will populate a static date (Ctrl +) in the active cell that the person has chosen. Any input is greatly appreciated. . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Insert date in macro | New Users to Excel | |||
How do I insert the date using a macro | Excel Discussion (Misc queries) | |||
Challenging Charting | Charts and Charting in Excel | |||
assign a macro to a control button | Excel Discussion (Misc queries) | |||
Embed command button from the control toolbox doesnt work | Excel Worksheet Functions |