Enumeration of COM object properties (Excel)
5 次查看(过去 30 天)
显示 更早的评论
I find myself looking to the VB documentation to determine the enumeration of various COM object properties. In VB, the string xlHAlignLeft can be used, however only the numeric (-4131) can be used in MATLAB. Are the numeric values of these character array pairs defined anywhere on the COM application, such that they could be referenced to allow the string rather than the number to be used? Just curious.
3 个评论
dpb
2021-3-27
That or similar has always been my approach -- or just pick the ones of the C# header files of interest--I rarely use but a handful at any time from the gazillions there are.
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Use COM Objects in MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!