MATLAB: Obtain information on excel files

excel

Is there a method for obtaining more information for excel files? I can use
[status,sheets,format] = xlsfinfo(filename)
to find the names of each sheet in the workbook, however, I'm trying to find a way of obtaining the number of measurements i.e. the number of rows and columns in the excel files. Is there a way of doing this without having to import the data into matlab?

Best Answer

You could open the file using actxserver (see doc) and make your way through the file using methods and properties. It probably will be cumbersome, though.