Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-29-2012, 06:47 AM
Victora Victora is offline Timestamp Button Word Windows Vista Timestamp Button Word Office 2007
Novice
Timestamp Button Word
 
Join Date: Dec 2012
Posts: 1
Victora is on a distinguished road
Default Timestamp Button Word


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.
Attached Images
File Type: jpg timstamp.JPG (60.0 KB, 13 views)
Reply With Quote
  #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,437
gmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the roughgmaxey is a jewel in the rough
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
Reply



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 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 11:35 PM.


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