필터 지우기
필터 지우기

How to hide sheet of excel file with matlab?

조회 수: 5 (최근 30일)
Suraj Srivastava
Suraj Srivastava 2015년 2월 19일
댓글: Olaf Müller 2018년 6월 5일
Hi,
I want to hide some sheets of my excel file through matlab. Kindly help me out.
Any suggestion is appreciated.
Thank you.
  댓글 수: 3
Suraj Srivastava
Suraj Srivastava 2015년 2월 19일
Hi Ganesh,
I have multiple sheet in my excel file. I want to hide one or more sheets.
Hope now I am clear to you. Thank you.
Olaf Müller
Olaf Müller 2018년 6월 5일
Hi Suraj,
hope my comment does not come too late ;-). Please try the approach as used for the example below:
Excel = actxserver('Excel.Application'); WB = invoke(Excel.Workbooks,'open', theFileName); WB.Worksheets.Item(1).Visible = 'xlSheetHidden'; WB.Worksheets.Item(1).Visible = 'xlSheetVisible';
Regards Olaf

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

답변 (0개)

카테고리

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