View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Leith Ross[_682_] Leith Ross[_682_] is offline
external usenet poster
 
Posts: 1
Default VBA to show two worksheets in workbook


Hello Ruddojo,

Here is a macro to re-enable the "New Window"...


Code:
--------------------

Sub EnableNewWindow()
Set CmdBar = Application.CommandBars("Worksheet Menu Bar").Controls("&Window")
CmdBar.Controls("&New Window").Enabled = True
End Sub

--------------------


Sincerely,
Leith Ross


--
Leith Ross
------------------------------------------------------------------------
Leith Ross's Profile: http://www.excelforum.com/member.php...o&userid=18465
View this thread: http://www.excelforum.com/showthread...hreadid=563893