I'm in the process of creating a VB form for an inventor assembly.
The problem I am having is that when I open the file inventor is duplicating the line "option Explicit" to the ThisDocument code, so when it is opened it all fails. inventor is doing this whether I run the form or not, If I delete both it will add one instance in, which is fine and everything will still work, but if I close and re-open the document a second time I get the same error because it as added a second.
Can anyone offer some advice on this as I'm loosing it with inventor trying to fix it myself,
Ta,
Solved! Go to Solution.
Solved by rossano_praderi. Go to Solution.
Hi, within your VBA editor you have to deselect the option "Require Variable Declaration".
Bregs
Rossano Praderi