title: MS-Access - DTEXEC issues
body: <p>I have an Access database that I am trying to run an SSIS package from. Here is the code I am using:</p>
  
  <pre><code>Dim wsh As Object
  Set wsh = VBA.CreateObject("WScript.Shell")
  Dim waitOnReturn As Boolean: waitOnReturn = True
  Dim windowStyle As Integer: windowStyle = 1
  
  wsh.Run "dtexec /f "J:\SQL Server Programming\SSIS\MyPackage\MyPackage.dtsx"", windowStyle, waitOnReturn
  </code></pre>
  
  <p>But whenever I run through the Access database, I get a Compile error: Expected: end of statement.</p>
  
  <p>Can someone please tell me what I am doing wrong with this query? I am using a solution from this post:</p>
  
  <p><a href="https://stackoverflow.com/questions/15951837/excel-vba-wait-for-shell-command-to-complete">Wait for shell command to complete</a></p>
  
  <p>And I have searched through that post and could not find an answer that helped me with my issue. Any help is appreciated. </p>