View Single Post
 
Old 07-07-2021, 07:25 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 4,159
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

I don't know what the programming language is in DOORS but it isn't VBA - to me it appears like it could be a Javascript although a search online shows people talking about DOORS DXL.

In terms of code, your initial test appears to return an error box if objWord is not created but it doesn't exit the script after that so if you saw the error message the rest of the code won't work.

The rest of your code doesn't align with what I know of VBA so you would need to find someone who understands the language and what these functions do. You might have more luck posting your questions to a DOORS specific forum.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote