close

when opening a page in a workbook, is thier a wat get it to default to cell
a1 , ???

Hi Rich,

Try:

'=============gt;gt;
Private Sub Workbook_SheetActivate(ByVal Sh As Object)
Sh.Range(quot;A1quot;).Select
End Sub
'lt;lt;=============

This is workbook event code and should be pasted into the workbook's
ThisWorkbook module *not* a standard module or a sheet module):

Right-click the Excel icon on the worksheet
(or the icon to the left of the File menu if your workbook is maximised)
Select 'View Code' from the menu and paste the code.
Alt-F11 to return to Excel.

If you are not familiar with macros, you may wish to visit David McRitchie's
'Getting Started With Macros And User Defined Functions' at:

www.mvps.org/dmcritchie/excel/getstarted.htm---
Regards,
Norman
quot;Richquot; gt; wrote in message
...
gt; when opening a page in a workbook, is thier a wat get it to default to
gt; cell
gt; a1 , ???

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

    software

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