46,247 questions
Hi,
I assume you're using VBA as your scripting language?
If this is the case, then I suggest you ask in the dedicated Visual Basic for Applications (VBA) forum over here:
https://social.msdn.microsoft.com/Forums/en-US/home?forum=isvvba
(If the reply was helpful please don't forget to accept as answer, thank you)
Best regards,
Leon