Info

此问题已关闭。 请重新打开它进行编辑或回答。

How can I work on many ranges in the same time

1 次查看(过去 30 天)
I want to use the function SetBorders to many ranges not on an excel file
SetBorders(sheet1,'H','P',startRange,endRange);
SetBorders(sheet1,'E','P',startRange,startRange);
it works when I call the function for every range
but I want to call the function just one time, so how can I give this function many ranges ?
  1 个评论
Walter Roberson
Walter Roberson 2019-5-5
This does not appear to be a MATLAB question.
SetBoarders appears to be a method for Excel worksheet Cells object. It is not a MATLAB function. It appears to work on a cell collection, but it is not obvious that what-ever SetBorders you have found is working on cell collections.

回答(0 个)

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by