working with this code-
get_files = cellstr(get(handles.listboxfiles,'String'));len = length(get_files); for i = 1 : len excel = actxserver('Excel.Application'); workbook = excel.Workbooks.Open(get_files{i}); ..... ..... ..... ..... ..... .....end
Am not getting any error but Actxserver reads only first file from list. Listboxfiles contains name of the files with pathname. Something like this "C:\Users\ERTW\Documents\Excel_file\ARAN1.xlsm". Is something missing with excel.Workbooks.Open?
Best Answer