Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 08-29-2013, 05:28 AM
amw amw is offline Add Month Name to Title via macro Windows 7 64bit Add Month Name to Title via macro 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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add Month Name to Title via macro How to set month+1 and horizontal line nightkn8 Word 12 03-25-2013 02:06 PM
How to show just day and month ketanco Project 2 06-14-2012 03:25 PM
Re: a month-old post with no replies. BudVitoff Outlook 0 10-10-2011 10:22 PM
Add Month Name to Title via macro Day and Month to Uppercase Andy2011 Word VBA 1 07-22-2011 04:34 PM
Add Month Name to Title via macro Formulate month in Excel 2010 meninio Excel 4 01-25-2011 12:13 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:55 PM.


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