title: Powerpoint macro to get the last modified date of a file
body: <p>I want to get the last modified date of a ppt file and put the condition : if it's in after thursady of the week than out else go on. That's what i wrote but it doesn't work! </p>
  
  <pre><code>Sub proprietes()
  
  
  Set fs = CreateObject("Scripting.FileSystemObject")
  FilePath = "C:\Users\Moez\Desktop\Macro Project\test v2"
  Set f = fs.GetFile(FilePath)
  fileModDate = f.DateLastModified
  End Sub
  </code></pre>
  
  <p>i always get the mistake in <code>Set f = fs.GetFile(FilePath)</code>!!</p>
  
  <p>Could you help me please? 
  thanks a lot</p>