Thank you for your answer. I tried your code but I got an error message「End of statement is needed」at the red underline in this picture. What is wrong? Sorry for my poor English and knowledge.