Lisp for turning off autosave then editing ole

Lisp for turning off autosave then editing ole

Anonymous
Not applicable
756 Views
0 Replies
Message 1 of 1

Lisp for turning off autosave then editing ole

Anonymous
Not applicable

Hello All!

 

Need a lisp to do the following:

1. turn off autosave

2. ask user to select an OLE (excel spreadsheet placed on the drawing as OLE object) for editing

3. wait until user closes OLE (is finished editing)

4. turns autosave back on

 

The reason for this is simple: when a user is editing a spreadsheet pasted as an OLE, the autosave tries to run causing Excel to lock until using task manager in windows to End Task. Then autocad finishes the save process but you lose all the work you did in your spreadsheet.

 

I'm not a programmer. I know a little VBA but this seems more like a task suited for lisp. Perhaps once this is loaded, it could be triggered by an event? (ie, when I open an OLE, this lisp runs silently??) 

0 Likes
757 Views
0 Replies
Replies (0)