I have a little test module (below) that runs Winzip64.exe. As with the Task Scheduler, I keep getting a prompt to allow Winzip to run: The security properties for Winzip give full control to users and administrators, so I'm in the dark as to why SHELL is encountering the prompt. Checking the box has no affect of subsequent running of the module.



Any thoughts?

Click image for larger version. 

Name:	001.jpg 
Views:	13 
Size:	44.0 KB 
ID:	51860
Code:
Option Compare Database
Option Explicit
Dim ShellRC As Variant
Dim ShellString As String
Private Sub RunJob()
Call ZipJob("rds.wjf")
End Sub
Private Sub ZipJob(JobName As String)
ShellString = "C:\Program Files\WinZip\winzip64.exe "
ShellString = ShellString & "/runjobfile C:\Users\Bill\Desktop\WinzipJobs\" & JobName
ShellRC = Shell(ShellString, 4)
End Sub