Well. I just answered one of my questions. For anyone else out there trying to figure out how to dynamically write text based on some test condition, I did the following.
Instead of using tables in the body, I used span as in:
In my case, everything to go inside the span block would be dynamic so it literally was "empty" as in the above.
In the section inside my loadexcel() function at the very end (or at least after I've defined the content of my variable to be written inside my span block), I added the following at the very end:
document.getElementById('dynamic_block').innerHTML = global_var;
I've obviously simplified. If you want the full example, please post a reply and I will extract the entire code.
But I still need help with naming my add-on and control that pops up in response to the open of an excel object. I have to believe there is a parameter or something that can be added to the open that will provide something other than "unknown" in the message.
So I still need your help!
MS