So the best way I found to do this was to access the columns through the Range of the ActiveSheet.
command = sprintf('%s:%s', str1, str2);
AS.Range(command).Group;
I build str1 and str2 by converting the column number into an Excel label like "AA" for 27 and "BA" for 53.
댓글 수: 1
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/218158-how-to-selectexcel-columns-through-matlab-activex-control#comment_287222
이 댓글에 대한 바로 가기 링크
https://kr.mathworks.com/matlabcentral/answers/218158-how-to-selectexcel-columns-through-matlab-activex-control#comment_287222
댓글을 달려면 로그인하십시오.