close

how can I get MS Excel to open and display a certain worksheet as default
rather than automatically opening on the last worksheet the user saved the
workbook

Private Sub Workbook_Open()
worksheets(quot;Sheet1quot;).activate
End Sub

'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet
'(or next to the File menu if you maximise your workbooks),
'select View Code from the menu, and paste the code

and read up on evenst at www.cpearson.com/excel/events.htm

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

quot;aishaquot; gt; wrote in message
...
gt; how can I get MS Excel to open and display a certain worksheet as default
gt; rather than automatically opening on the last worksheet the user saved the
gt; workbook

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 software 的頭像
    software

    software

    software 發表在 痞客邦 留言(0) 人氣()