Effacer les filtres
Effacer les filtres

How to hide sheet of excel file with matlab?

5 vues (au cours des 30 derniers jours)
Suraj Srivastava
Suraj Srivastava le 19 Fév 2015
Commenté : Olaf Müller le 5 Juin 2018
Hi,
I want to hide some sheets of my excel file through matlab. Kindly help me out.
Any suggestion is appreciated.
Thank you.
  3 commentaires
Suraj Srivastava
Suraj Srivastava le 19 Fév 2015
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 le 5 Juin 2018
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

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Data Import from MATLAB dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by