필터 지우기
필터 지우기

Turn all excel sheet background to white

조회 수: 4 (최근 30일)
Emily
Emily 2022년 9월 6일
답변: dpb 2022년 9월 7일
I'm trying to turn all the excel background color into white.
WB.Worksheets.Item().Range().Interior.ColorIndex=2;
I'm not sure what to put in for both () to have it look for all the areas with datas.
  댓글 수: 1
dpb
dpb 2022년 9월 7일
I don't recall what it's called OTOMH, but there's a property (or method?) that does return the used range in the workbook -- search for the Excel VBA doc for some phrase similar and you'll likely get a link the the MSDN VBA doc's that you can crib from the example code.

댓글을 달려면 로그인하십시오.

답변 (1개)

dpb
dpb 2022년 9월 7일

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by