I have the following codes but I always get the “A Runtime error has occurred. Do you wish to Debug? Line: nnn Error: Expected end of statement”. Is it a permission problem? If I want to re-write it with Javascript, can I have the sample codes please.