![]() |
|
#1
|
|||
|
|||
![]() I want to put a timestamp button like the picture on my word documents.. I'm at a loss as to how to do that. Can anyone please help me? I know I need to create a Macro but I'm not sure how to do that either. |
#2
|
|||
|
|||
![]()
Basically something like this:
Code:
Sub ScratchMacro() 'A basic Word macro coded by Greg Maxey Dim oRow As Word.Row If Selection.Information(wdWithInTable) Then Selection.Collapse wdCollapseStart Set oRow = Selection.Rows(1) oRow.Cells(1).Range.Text = Format(Now, "hh:mm:ss") oRow.Cells(2).Range.Text = Format(Now, "dd-MMM-yy") End If End Sub |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Timestamp appear in reading pane | charlesmac | Outlook | 3 | 08-10-2012 02:16 AM |
Using Date and Time (Timestamp) as a bullet | m2oswald | Word | 1 | 02-07-2012 03:41 PM |
![]() |
bugserm | Excel | 1 | 01-23-2012 02:28 AM |
Convert Timestamp to GMT Time | SteadyWord | Word | 0 | 06-07-2010 06:38 AM |
![]() |
boe | Outlook | 2 | 11-30-2005 04:19 PM |