title: VBA Powerpoint. How to get file's current directory path to a string in VBA?
body: <p>VBA Powerpoint. How can i set environment current directory?</p>
  
  <p>I also tried this code:</p>
  
  <pre><code>Sub test()
  Dim sPath As String
  sPath = ActiveWorkbook.Path
  MsgBox sPath
  End Sub
  </code></pre>
  
  <p>But is says: <code>Object required</code></p>
  
  <p>Please help me to make it work ...</p>