View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
bhofsetz[_55_] bhofsetz[_55_] is offline
external usenet poster
 
Posts: 1
Default Worksheet has to set to visible as it is not visible after saving and closing Excel by VB.


You could add a Workbook _Open event procedure that will set the
visibility of that worksheet to true.

Private Sub Workbook_Open()
Sheets("Put Worksheet Name Here").Visible = True
End Sub

Or you could set the visibility of the worksheet before saving and
closing.

Private Sub Workbook_BeforeClose(Cancel As Boolean)
Sheets("Put Worksheet Name Here").Visible = True
End Sub

Either method should give you the results you are after.

HTH


--
bhofsetz
------------------------------------------------------------------------
bhofsetz's Profile: http://www.excelforum.com/member.php...o&userid=18807
View this thread: http://www.excelforum.com/showthread...hreadid=380706