01-25-2023
01:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
01-25-2023
01:54 PM
you can try it like this:
Dim oAsmDoc As AssemblyDocument = ThisApplication.ActiveDocument
Dim oDoc As Document = ThisDoc.Document
For Each refDoc As Document In oDoc.AllReferencedDocuments
Dim path = System.IO.Path.GetDirectoryName(refDoc.FullFileName)
MessageBox.Show(path, "file path")
Next
Jelte de Jong
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.
Blog: hjalte.nl - github.com