VBA 2021 vs 2022

VBA 2021 vs 2022

admaiora
Mentor Mentor
649 Views
5 Replies
Message 1 of 6

VBA 2021 vs 2022

admaiora
Mentor
Mentor

Hi,

 

is there any change between 2021 and 2022 with the use/code of VBA?

I have some code that works great with ... 207 2018  2019 2020 2021...then stop working with 2022.

Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
650 Views
5 Replies
Replies (5)
Message 2 of 6

bradeneuropeArthur
Mentor
Mentor

Can you upload the code, either explain what not works anymore specific?

Regards,

Arthur Knoors

Autodesk Affiliations & Links:
blue LinkedIn LogoSquare Youtube Logo Isolated on White Background


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:
My 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 !


 


EESignature

0 Likes
Message 3 of 6

admaiora
Mentor
Mentor

Hi @bradeneuropeArthur ,

 

 

here a video, and attached a sample.

 

Same files,  works with 2021..doesn't work with 2022

 

Thanks!

Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 4 of 6

admaiora
Mentor
Mentor

Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes
Message 5 of 6

NachoShaw
Advisor
Advisor

if yo look at your constraint values in 2022, you can see that all of the ones with VBA: are not able to parse and are red. Maybe you need to switch to iLogic in 2022

 

vba.jpg

Nacho
Automation & Design Engineer

Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC

EESignature


Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.


0 Likes
Message 6 of 6

admaiora
Mentor
Mentor

Hi thanks.

The question is why this happen. Which is the difference between 2020/2021 and 2022.

 

If we have used vba is due that that is not possibl with iLogic.

Admaiora
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

_____________________________________________________________________________
Facebook | Twitter | Youtube

0 Likes