Message 1 of 2
Open files with other file linked in Fx Parameters
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'd like to understand why it works that way and how I can resolve my problem.
I'm trying to create a new or open a document, save copy as with a diferent name and link this copy in the main document.
Firt time it works but when I try the second time visual studio throw an argument exception.
On debugging I saw that when I open the file with the link, it open in background the "save copy as" file too and in my opinion this couse the exception. Using document.close dont work and the only way is use documents.closeall.
Please, see my code attached and the video.
Thanks.