• Automatically going to cell when spreadsheet opens (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Automatically going to cell when spreadsheet opens (2000)

    Author
    Topic
    #431061

    Is is possible to assign a macro to go to a specific cell in a spreadsheet when the spreadsheet loads up?

    Viewing 1 reply thread
    Author
    Replies
    • #1008089

      Activate the Visual Basic Editor (Alt+F11)
      Double click ThisWorkbook.
      Enter code like this:

      Private Sub Workbook_Open()
      Worksheets(“Sheet3”).Select
      Range(“P2”).Select
      End Sub

      Of course, you should substitute the appropriate sheet name and cell address.

    • #1008091

      Right click on the sheet tab and choose View Code.
      You will see two drop downs on the top of the window.
      Select Worksheet from the first and select Activate from the second.
      Inside the Private Sub Worksheet_Activate() procedure type: Range(“A1”).Select

      (Change the range reference as needed!)

    Viewing 1 reply thread
    Reply To: Automatically going to cell when spreadsheet opens (2000)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: