Question: embedded components

Hello Colleagues, I attached a maple worksheet. 
View on MapleNet or
View file details
In which I have the following concerns:
How to make the code to run when opening the worksheet, so that the instructions are after the embedded components, take these values passed to it.
We welcome suggestions on the module implemented within the "Edit Region Code."
Please Wait...