I'm trying to use lisp routines written by Terry Miller, GetExcel.lsp.
When using the following, I get an automation error:
(setq *ExcelApp% (vlax-get-or-create-object "Excel.Application"))
(vlax-invoke-method (vlax-get-property *ExcelApp% 'WorkBooks) 'Open ExcelFile$)
Is there a way to get the workbook information even if the file is opened by another user?
If not, then would using lisp to make a copy of the file in another location, get the information, then deleting the file be an acceptable work around?
Also, the person creating the Excel file is putting the revision date at the end of the file name, i.e. MyFile 11.05.12.xlsx. Each time a revision to the file is made, a new version is created with a different file name, i.e. MyFile 11.06.12.xlsx. Is there a way to do a wcmatch for an file open/copy call, for which I can compare dates (file name or actual file save date) to see which version is newest?
All help is appreciated,
Rabbit