Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-29-2012, 08:47 AM
gmaxey gmaxey is offline Timestamp Button Word Windows 7 32bit Timestamp Button Word Office 2010 (Version 14.0)
Expert
 
Join Date: May 2010
Location: Brasstown, NC
Posts: 1,617
gmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nicegmaxey is just really nice
Default

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
__________________
Greg Maxey
Please visit my web site at http://www.gregmaxey.com/
Reply With Quote
 



Similar Threads
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
Timestamp Button Word how to display Timestamp on x-axis in Scatter smooth line graph bugserm Excel 1 01-23-2012 02:28 AM
Convert Timestamp to GMT Time SteadyWord Word 0 06-07-2010 06:38 AM
Timestamp Button Word Timestamp for notes in contacts? boe Outlook 2 11-30-2005 04:19 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:54 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft