Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 03-16-2015, 05:53 AM
gmayor's Avatar
gmayor gmayor is offline Word signatures w/ date stamp Windows 7 64bit Word signatures w/ date stamp Office 2010 32bit
Expert
 
Join Date: Aug 2014
Posts: 4,142
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

You can certainly insert the username, time and date into a document using VBA, though it would have no security value.



Code:
Sub InsertNameAndDate()
    Selection.TypeText Environ("UserName") & Chr(32) & Chr(150) & Chr(32) & _
                       Format(Date, "Long Date") & Chr(32) & Chr(150) & Chr(32) & _
                       Format(Time, "HH:MM")
lbl_Exit:
    Exit Sub
End Sub
You could include a scanned signature graphic, but that would not improve security either, and you would need to arrange a selection of images one for each user.

This is not a substitute for digitally signing a document.
__________________
Graham Mayor - MS MVP (Word) (2002-2019)
Visit my web site for more programming tips and ready made processes www.gmayor.com
Reply With Quote
Reply

Tags
macro, signature, word 2007



Similar Threads
Thread Thread Starter Forum Replies Last Post
Word signatures w/ date stamp Eliminate time stamp in Track Changes Aden Word 19 07-10-2023 09:02 PM
Word signatures w/ date stamp Updating time stamp only when changes have been made and re-saved ashmo0024 Word 1 09-05-2014 01:46 PM
Outlook 2003-formatting vba Date stamp Royzer Outlook 0 03-29-2012 10:39 AM
Word signatures w/ date stamp Signatures rob75 Outlook 3 05-18-2011 05:02 PM
Add date and time stamp to new mail and incoming mail cadsmarter Outlook 0 02-02-2006 08:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 02:02 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