14 years ago
How to determine the availability of Log in UserForm with ScriptExtensions
Hi!
Sorry for my English.
I have a function in my scriptextensions and they work.
There is a UserForm in scriptextensions.
The script is checked, for example, the existence of an object and recording errors in the log.
Activated form from panel causes an error: Wrong number of arguments or invalid property assignment: 'Log'
How do I check whether I can write anything in the log?
if aqObject.IsSupported (Log, "Error") then
or
if IsObject (Log) then
give tighter error Wrong number of arguments or invalid property assignment: 'Log'
Help!
Sorry for my English.
I have a function in my scriptextensions and they work.
There is a UserForm in scriptextensions.
The script is checked, for example, the existence of an object and recording errors in the log.
Activated form from panel causes an error: Wrong number of arguments or invalid property assignment: 'Log'
How do I check whether I can write anything in the log?
if aqObject.IsSupported (Log, "Error") then
or
if IsObject (Log) then
give tighter error Wrong number of arguments or invalid property assignment: 'Log'
Help!