Splitting a webpage many times(?)

X82

X82

Associate
Joined
24 May 2010
Posts
212
Apologies here, but my lack of experience will shine through.
I have a html file which contains about 2 subs. The first is designed to connect to another website and pull information and the second formats that information in the file and displays it on the sharepoint page as a webpart.
Ideally, I would like to have multiple instances of this, so rather than the page pull one load of data (in this case contact details) it can pull one, I can add a branch name and then it pulls another right underneath which I can also add a header too.
I tried copy/pasting the code and renaming the subs (in this case Sub BuildPage() and then Sub BuildPage2() but this didn't do anything. How can I split this one html page of code into multiple? Code is here.
 
Back
Top Bottom