Microsoft Excel, Word and Powerpoint and probably some other apps are easily accessible through visual lisp using its object models.
I have written this code by simply looking into Excel object model definition and I have never done this before. Someone with better knowledge of visual-lisp would probably come up with even better code. Another option is to use Autocad VBA (separate installation after version 2018) and run vba script from visual lisp.
OP is a long time application Autocad developer in visual-lisp and he uses Excel a lot, AFAIK from his previous requests. I'm sure he would come to solution on his own.
In worksheet methods it stands.
Worksheets("Sheet1").Copy After:=Worksheets("Sheet3")
How to rewrite this in visual lisp, and invoke "after" or "before" keyword to Copy method?
Miljenko Hatlak

Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.