I was wondering if there is a way to automatically update excel spreadsheets in AutoCad. I want them to update each time I open a drawing. I have tried writing an acaddoc.lsp file to do this, but when I try to run the command from the lisp routine, it runs before AutoCad is ready to accept commands. This is what I have right now in my acaddoc.lsp:
;;; Start of AcadDoc.lsp
(load "span12.lsp")
(defun-q MYSTARTUP ( )
(sheetall)
)
(setq S::STARTUP (append S::STARTUP MYSTARTUP))
;;; End of AcadDoc.lsp
Is there a way to get a command to run everytime you start or open a new drawing after the drawing has been initialized. Thanks for any input.
Tony