Visual Studio 2022, Excel 365 - connecting to Inventor

Visual Studio 2022, Excel 365 - connecting to Inventor

andrew_canfield
Collaborator Collaborator
362 Views
4 Replies
Message 1 of 5

Visual Studio 2022, Excel 365 - connecting to Inventor

andrew_canfield
Collaborator
Collaborator

Hello

 

After some reading up arriving here:

The next step would be to connect the Excel cell value to Inventor but can't currently connect Visual Studio 2022 to Excel 365, seeing 'Ambiguous in the namespace'.

Ambiguous.PNG

 

Guessing it's something to do with adding a reference - maybe not this reference!

Object Library.PNG

 

Working through this to set up the interface:

https://www.youtube.com/watch?v=nQtDIzwqR6Q 

 

The previous code in vba (supplied here) :

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/writing-back-iproperty-drawing-to-pa...

is fast - (& opening/editing/closing different files using iLogic awkward.)

 

Just a few hurdles to jump now, I hope.

 

Regards

 

Andrew

0 Likes
363 Views
4 Replies
Replies (4)
Message 2 of 5

bradeneuropeArthur
Mentor
Mentor

Is this the case for you:

bradeneuropeArthur_0-1671181714758.png

 

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 5

andrew_canfield
Collaborator
Collaborator

Hello Branden

Not 100% sure how to check but a google returns this:

  • When you deploy Microsoft 365 Apps, it's installed on the user's local computer. Microsoft 365 Apps isn't a web-based version of Office. It runs locally on the user's computer. Users don't need to be connected to the internet all the time to use it.

So far the link to Inventor hasn't been added, currently trying to link to Excel with vb.net.

 

Regards

 

Andrew

0 Likes
Message 4 of 5

andrew_canfield
Collaborator
Collaborator

Removed the reference & the error went away, until:

Filenotfound.PNG

 

Similar problem posted here:

 

https://learn.microsoft.com/en-us/answers/questions/939640/how-to-setup-excel-interop-for-exccel-365... 

 

this is a tough hurdle - wondering if the list is exported as .csv & ditch excel.. although not keen because the next challenge is to export drawing iproperties to a spreadsheet so all project drawing values can be viewed/edited.

 

Regards

 

Andrew

0 Likes
Message 5 of 5

andrew_canfield
Collaborator
Collaborator

Some progress restarting in 2017 - will need to revisit 2022 - not sure what's changed..

0 Likes