Info

This question is closed. Reopen it to edit or answer.

How can I work on many ranges in the same time

1 view (last 30 days)
AMINE EL MOUATAMID
AMINE EL MOUATAMID on 4 May 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
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 Comment
Walter Roberson
Walter Roberson on 5 May 2019
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.

Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!