a guest Jul 17th, 2019 53 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Sub DailyBatchProcess()
  2. Dim wsh As Object
  3. Set wsh = VBA.CreateObject("WScript.Shell")
  4. Dim waitOnReturn As Boolean: waitOnReturn = True
  5. Dim windowStyle As Integer: windowStyle = 1
  6. wsh.Run Chr(34) & "S:DataDaily Items1 Daily BatchBATTransaction Adjustments.bat" & Chr(34), windowStyle, waitOnReturn
  7. Set wsh = Nothing
  8. End Sub
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand