Hello I am trying to use the application name quickscan.exe from Burrotech. to allow me scan directly several pages in my data base but I cant do that the application take the name of the documents from my vba code. here is the code I use, any idea or some know how figure out this? Thanks in advance
Private Sub Command493_Click()
Dim Filepath As String
Dim CName As String
CName = Forms![ContractorsDBForm]![Text442]
filename = Me.DocumentsName & ".pdf"
Filepath = DLookup("[ContractorPath]", "querysetup") & CName & DLookup("[expr1]", "querysetup")
Shell CurrentProject.Path & "\quickscan.exe resolution 100 pdf showprogress " & Filepath & "filename "
End Sub
when I use the following code, the application scan but put the documents just in the folder predetermined by code
PrivateSub Button27_Click()
Shell CurrentProject.Path &"\quickscan.exe resolution 100 pdf showprogress filename "& CurrentProject.Path &"\scan\ScanN¹""23.pdf "
EndSub