TGridToXLS

Workbook.Sheets[

Workbook.Sheets[

xlSheetVisible

Hides the sheet so that the only way for you to make it visible again is by setting this property to True or xlSheetVisible (the user cannot make the sheet visible) This example makes the Worksheet one invisible

Workbook.Sheets[

'Visible Sheet'
Workbook.Sheets[
This example checks visibility of sheet one
With begin

Visible = xlSheetVisible

Name :=

Workbook.Sheets[1].Visible := False;
'Visible Sheet'

Workbook.Sheets[1].Visible := xlSheetHidden;
Name :=

With Workbook.Sheets[1] do begin
  if Visible = xlSheetVisible then
     Name := 'Visible Sheet'
  else
     Name := 'InVisible Sheet';
end;