View Single Post
 
Old 08-29-2013, 05:28 AM
amw amw is offline Windows 7 64bit Office 2010 32bit
Novice
 
Join Date: Aug 2013
Posts: 6
amw is on a distinguished road
Default

Quote:
Originally Posted by JohnWilson View Post
Is the header on the slide master?

Assuming you have a textbox on the Master with some text this macro should insert the Month and Year before the text.

Sub AddDate()
With ActivePresentation.Designs(1).SlideMaster.Shapes(" Header").TextFrame.TextRange
.Text = Mid(.Text, InStrRev(.Text, ":") + 1)
.InsertBefore (MonthName(Month(Now)) & "_") & Year(Now) & ":"
End With
End Sub



YES MICROSOFT should have a year and date and time .
Reply With Quote