Did you put all your VBA code into your ApplicationProject?
It must be in the ApplicationProject, instead of in the document.
Here is a screenshot of the VBA Editor. The ApplicationProject is at the top left. Copy and paste your code from where you have it now (maybe in Module1 of the DocumentProject) into Module1 of the ApplicationProject.
Ok Mike i think i done it....I will try a liitle bit by myself because i feel that i tired you, and if i have another question i will be back.....
I realy thank you and appriciate all your help.....
OK, great. I forgot one thing: you should set an option so that the VBA macros are available all the time.
Under Application Options
Check the Load VBA on start-up option
Finally i enter a shortcut Key on a macro as you say...
But how it can be activated???I mean when i can press the button "A" for example, and run my macro???
I must do somethimg else???It's about this setting you send me???
You don't need the Load VBA on start-up option in Inventor 2011. But it is required in Inventor 2013 (and maybe 2012).
If your macro is not working, I don't know what the problem might be. I would recommend using two letters instead of one for your shortcut. Please send me a screenshot similar to the one below:
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register