Community
Inventor Forum
Welcome to Autodesk’s Inventor Forums. Share your knowledge, ask questions, and explore popular Inventor topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

VBA error while saving idw

4 REPLIES 4
Reply
Message 1 of 5
Anonymous
484 Views, 4 Replies

VBA error while saving idw

Hi All I’m new here

 

my name is Erik-Martijn and work daily with inventor.

 

Info:

Inventor 2012 sp2 build 219

Os win7 64x

 

I have an odd error which I can't solve...

the problem is every time I open an idw and hit the save button an MS visual basic screen open (see attachment) with an error:

Compile Error:

Duplicate Option statement

when hit ok you see twice Option Explicit

I delete one and a popup will appear which saying this action will reset your project, proceed anyway?

After this the normal save popup will appear

 

yesterday they reimaged my computer but the problem is still there...

when I go to my colleague and uses his computer the problem doesn't exist

I have made an export of the application settings of my colleague and import this in my inventor but this had no effect.

 

Can anyone help me please?

 

Greetings Erik-Martijn

 

 

 

 

4 REPLIES 4
Message 2 of 5
Anonymous
in reply to: Anonymous

Are you opening a new idw from a template or an existing idw?  Does it do this with all idws?

Message 3 of 5
Anonymous
in reply to: Anonymous

Hi Rob,

its with an existing and new idw files

no not with all idw files only with the idw files of the current customer.
Message 4 of 5
Anonymous
in reply to: Anonymous

You do not need either Option Explicit in the files.  You can delete both.  Make sure your project is set correctly after doing this.

Message 5 of 5
Anonymous
in reply to: Anonymous

I have deleted the Option Explicit in the main file when is save and close the VBA editor and after that save and close the main idw file, after re-open the idw the Option Explicit is back.

 

 

i'm getting crazy 🙂

 

 

 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report