Message 1 of 5

Not applicable
03-12-2019
11:49 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys,
if got a strange new problem on my existing vba codes. I had a code to close all drawings without saving that works fine with autocad 2018. Actually the code works even well with autocad 2019, but one time used I cannot open a dxf file to autocad from the file explorer anymore.
Private Sub CommandButton12_Click() 'Unload Auswahl Dim Drawing As AcadDocument For Each Drawing In Application.Documents Drawing.Close False Next End Sub
The only thing you could do to be able to open files by double clicking in the file explorer is to push the "stop" button in the vba environment toolbar or to add an "End" to the code.
I there anybody who could explain this? I tried it on two workstations with the actual autocad 2019.
Thanks in advance!
Lars
Solved! Go to Solution.