+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Newbie
    AutoCAD 2014
    Join Date
    Nov 2015

    Default message box when close file

    Registered forum members do not see this ad.

    Hello, I'm a new user about autocad and new user about this Forum.
    I try use VB and CAD...

    Is there a solution for my problem in object?

    i just write code for MSGBOX:

    Dim Variabile As Integer
    Variabile = MsgBox("Hai esportato i parametri?", vbOKCancel)
    If Variabile = 2 Then ActiveWindow.Close
    and work if use a macro....but for insert this message when close a file?

    can i make a particular macro for this like excel or access???

    thanks for You interest

  2. #2
    Quantum Mechanic BIGAL's Avatar
    Civil 3D 2016
    Join Date
    Dec 2005


    Registered forum members do not see this ad.

    Look at Redefine it allows a re definition of a command so CLOSE could do something totally different even open a dwg.
    A man who never made mistakes never made anything

Similar Threads

  1. Close script file doesn't work in AutoCAD 2014
    By Spiderguy in forum The CUI, Hatches, Linetypes, Scripts & Macros
    Replies: 13
    Last Post: 29th Apr 2014, 03:30 am
  2. how can I fix ploting problem and automatic file close
    By Muhammad Mahfooz in forum AutoCAD General
    Replies: 1
    Last Post: 15th Aug 2013, 10:54 am
  3. AutoCAD Architecture Crashing when trying to close a sheet file?
    By CAD Monkey in forum AutoCAD Bugs, Error Messages & Quirks
    Replies: 0
    Last Post: 5th Sep 2011, 11:39 am
  4. Can not Close a Drawing File
    By Rhayes in forum AutoCAD General
    Replies: 6
    Last Post: 2nd Jun 2008, 09:35 pm
  5. Close without saving and open next file-macro
    By mdbdesign in forum AutoLISP, Visual LISP & DCL
    Replies: 8
    Last Post: 13th May 2007, 12:44 am

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts