I am trying to make my MainCatPage Sub act as a container for the guts.
I took all the guts out of the MainCatPage Sub and tried to shove them into variable so that I could reference the variables from inside MainCatPage sub since I'm planning on using that Sub as the basis for many other pages where I wi ll just shove in different values for variables such as PageTitle and so on shown in the second link below.
I just need help formatting the syntax for both so that it works again after trying to shove stuff into variables.
Link 1 - container page
Link 2 - Where i moved out the core code and tried to shove them into variables for use wtih the Link 1, MainCatPage Sub routine