There are two options here;
By clicking the Visual Basic button on the left, the first one is under the top menu,
Or it can be viewed with the View Code button on the right of the same menu.
In addition, when right-clicking on the name of the page below and selecting View Code, it works as in the second option.