Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I get the message above when I try to execute a macro using the Plugin.
The app runs on the development machine, but I get the message above when using the plugin.
I am using QV v9
Hi,
This error is because of path problem.
The path which you are accessing may exsits in developer machine and may not be in plugin.
Just an thougt, not sure
-Peterson
I have taken out the code to reference a file.
I try to insert a record in to the tabel SearchValues. This works in development, but not with the plugin.
sub Insert
set docprop = ActiveDocument.GetProperties docprop.EnableDynamicDataUpdate=true
ActiveDocument.SetProperties docprop
SET Result = ActiveDocument.DynamicUpdateCommand("INSERT INTO * (SearchValues) VALUES ($(vSearchVariable))")
if Result = false then
MsgBox Result.ErrorMessage
else
ActiveDocument.Variables("vSearchVariable").SetContent "", true = 1
end if
end sub