Excel COM Server, create Autofilter
14 views (last 30 days)
Show older comments
Hi, I'm writing a script starting an Excel COM-Server and inserting some data into a sheet. This is works fine but in addition I'm searching for a command to create an Autofilter for a selected Row.
Does anyone know how I can achieve this? I'm searching for a function reference as I'm not very familiar with COM/ActiveX etc. (I also want to fix my window on a certain cell...)
Any help is welcome :)
0 Comments
Accepted Answer
Friedrich
on 25 Aug 2011
Hi,
A good way to get the function and command you need it to open Excel and let EXCEL record a macro for you. Simply click on start recording macro, do manually what you like to do in EXCEL and hit stop recording. After recording is done you can look at the VB code which gives you all needed functions and commands.
0 Comments
More Answers (2)
See Also
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!