Hi Doc,
I don't totally understand the question and it maybe better to post it in the help forum .. basically the code is VBA not PHP or HTML code.
Only post VBA with Code tags, PHP in the PHP tags and HTML code with HTML tags.
You should post a question on what you want to achieve and not your anticipated solution.