Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.

Where's my Inventor Macro?

jR0sal3s
Advocate

Where's my Inventor Macro?

jR0sal3s
Advocate
Advocate

Hello all....

I hope somebody can help me on this.

I have directed my Default VBA project to where my .ivb is through Tools/App Options/File tab and Default VBA project.

Now, when i tried to set my shortcut through, Customize User Commands/Keyboard/Macros category - it is empty and couldn't find any of my macros!...

I have it working before...and with other computers, but i got this issue with one computer...so, What did i missed?

 

Regards..

JR

0 Likes
Reply
Accepted solutions (1)
1,708 Views
11 Replies
Replies (11)

bradeneuropeArthur
Mentor
Mentor

Hi,

 

What is the file-size of your .ivb file, you are loading?

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

0 Likes

jR0sal3s
Advocate
Advocate

Should it matter....? Its 1243 kb only.

 

What i don't understand is that the macro is working in the other computer, however with the other two computers, it is not. It is just because i couldn't just see the macro.

 

Perhaps, the program that reads vba is corrupted?

 

 

0 Likes

GeorgK
Advisor
Advisor

You could try to repair it:

 

Close Inventor and install from your source

 

64-bit:  \3rdParty\x64\VBA\Vba7.MSI.

32-bit:  \3rdParty\x86\VBA\Vba7.MSI.

 

Could you post the file? Maybe it's corrupt.

 

There is a similar case:

https://forums.autodesk.com/t5/inventor-customization/2014-64-bit-vba-crashing-on-program-launch-ran...

0 Likes

bradeneuropeArthur
Mentor
Mentor

If the VBA project file was really empty than the size should be small.

I only wanted to check if there are modules in the VBA project file.

 

Regards,

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

0 Likes

jR0sal3s
Advocate
Advocate

The .ivb file is fine...it actually works in my computer...but when i tried it to another computer, I was able to direct the file path to the .ivb file but when i tried to assign a shortcut key to the macro (in the customize toolbar) it doesn't show in there...it's just blank.

0 Likes

jR0sal3s
Advocate
Advocate

the .ivb file is working fine in other computer, it is just specific to the other 2 computers...I might just have to re-install it somehow if all else doesn't work, it is just I wanted to know what is causing this and fix this without re-installing everything.

0 Likes

jR0sal3s
Advocate
Advocate

it is in this that i couldn't find my macros...Capture.JPG

0 Likes

bradeneuropeArthur
Mentor
Mentor

Can you find any macro under the macro button in the ribbon of inventor?

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

0 Likes

jR0sal3s
Advocate
Advocate

modules are not showing..but it is directed to the .ivb..Capture2.JPG

0 Likes

bradeneuropeArthur
Mentor
Mentor
Accepted solution

What happens if you pres ALT + F11 within inventor, is it opening VBA editor?

Regards,

Arthur Knoors

Autodesk Affiliations:

Autodesk Software:Inventor Professional 2025 | Vault Professional 2024 | Autocad Mechanical 2024
Programming Skills:Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic
Programming Examples:Drawing List!|Toggle Drawing Sheet!|Workplane Resize!|Drawing View Locker!|Multi Sheet to Mono Sheet!|Drawing Weld Symbols!|Drawing View Label Align!|Open From Balloon!|Model State Lock!
Posts and Ideas:Dimension Component!|Partlist Export!|Derive I-properties!|Vault Prompts Via API!|Vault Handbook/Manual!|Drawing Toggle Sheets!|Vault Defer Update!


! For administrative reasons, please mark a "Solution as solved" when the issue is solved !

0 Likes

jR0sal3s
Advocate
Advocate

actually, Alt+F11 opened the VBA editor and i found out there was nothing on it..

I overwrite it with the working .ivb on another computer and it all fixed the problem...so Thanks a lot for your time...

0 Likes