Hi. I am using VBA within Access to open a file, but Sumatra adds it to its history and opens all the tabs it has in history every time… Is there anyway I can close the previous tabs from the command line or only open it on this one file?
If there is an argument I can use here, I could really use some help with the syntax for the wscript below
Set ws = CreateObject(“Wscript.Shell”)
strCMD = CurrentProject.Path & “\sumatrapdf.exe " & “””" & pfile & “”""