How to read all excel data with com server update

空扰寡人 提交于 2019-12-12 04:11:55

问题


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.

来源:https://stackoverflow.com/questions/37209193/how-to-read-all-excel-data-with-com-server-update

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!