As you can gather from subject title, I'm new to vbscript in outlook so I'm sure this question is simple!
A couple of days ago, I generated a form with function that opened access database when the user pressed the send button. The database then queries the outlook form data and updates a data table.
It was working fine, now for some reason the function doesn't work and the database isn't triggered. What might have changed to stop it working?
function as follows...
Function Item_Send()
set WshShell = CreateObject("WScript.Shell")
wshshell.Run """D:\Program Files\Microsoft Office\Office\msaccess.exe""H:\HolidayBooker\HolidayBookerData.MDB", 2, false
End Function
A couple of days ago, I generated a form with function that opened access database when the user pressed the send button. The database then queries the outlook form data and updates a data table.
It was working fine, now for some reason the function doesn't work and the database isn't triggered. What might have changed to stop it working?
function as follows...
Function Item_Send()
set WshShell = CreateObject("WScript.Shell")
wshshell.Run """D:\Program Files\Microsoft Office\Office\msaccess.exe""H:\HolidayBooker\HolidayBookerData.MDB", 2, false
End Function