How to read all excel data with com server update

38 Views Asked by At
for j=1:???
Loc = [func(j) '1:' func(j) '803'];

Result = get(Excel.Activesheet, 'Range', Loc);

Result.Select;

expResult = Excel.Selection.Value

func converts number to character of excel column. I want to read all data. If I write a number for ??? e.g 100 only Read 100 columns.

image

0

There are 0 best solutions below