How to hide sheet of excel file with matlab?

3 ビュー (過去 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 Center および File ExchangeData Import from MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by