• VBA coding to go to cell not working (2000)

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » VBA coding to go to cell not working (2000)

    • This topic has 4 replies, 3 voices, and was last updated 19 years ago.
    Author
    Topic
    #431197

    For some reason the VBA coding to go to a cell automatically when the spreadsheet loads up is not working.
    See attachment for coding.

    Any help would be appreciated.

    Viewing 0 reply threads
    Author
    Replies
    • #1008754

      You have nested the Workbook_Open procedure within the Worksheet_Activate procedure. This is not valid for two reasons:
      – You cannot ever nest one procedure within another one.
      – The Workbook_Open procedure belongs in the ThisWorkbook module, not in the Sheet1 module.

      • #1008774

        How do l access the Thisworkbook module?

        • #1008776

          (Edited by Jezza on 07-Apr-06 14:22. To correct typo)

          In the VB Editor click View| Project Explorer or Ctrl+R

          This will open a panel where you can view the Excel Objects, one of these will be the ThisWorkbook, double click on it.

    Viewing 0 reply threads
    Reply To: VBA coding to go to cell not working (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: