Where can I find document for various Excel COM objects and functions that operate on them?
Mostra commenti meno recenti
I'm new to Matlab's COM interface with Excel. I read many examples that list commands similar to the ones below. As I understand, each of these functions returns a COM object (exl, exlFile, exlSheet1, respectively).
exl = actxserver('Excel.Application')
exlFile = exl.Workbooks.open(path,0,true)
exlSheet1 = exlFile.Sheets.Item('Sheet1')
There are also many functions that can operate on these objects: set(), invoke(), get(), delete(), quit()
Is there a document where I can find comprehensive description of these objects and the functions operating on them?
Risposte (2)
Kevin Chng
il 16 Ott 2018
0 voti
2 Commenti
Wei-Kai Shih
il 16 Ott 2018
Kevin Chng
il 18 Ott 2018
Modificato: Kevin Chng
il 18 Ott 2018
Sorry for late reply,
Other than excel object link ( here), sometimes I will look for VBA language, then modify from there to MATLAB code for it. I used it to change colour of column, and bold of word.
However, I have no idea where to get proper documentation on it, hence,for me, it is always try and error for it.
No experience working with microsoft office product other than excel.
Wei-Kai Shih
il 18 Ott 2018
0 voti
Categorie
Scopri di più su Use COM Objects in MATLAB in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!