Where can I find document for various Excel COM objects and functions that operate on them?
Show older comments
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?
Answers (2)
Kevin Chng
on 16 Oct 2018
0 votes
2 Comments
Wei-Kai Shih
on 16 Oct 2018
Kevin Chng
on 18 Oct 2018
Edited: Kevin Chng
on 18 Oct 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
on 18 Oct 2018
0 votes
Categories
Find more on Use COM Objects in MATLAB in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!