On 30 September 2014 13:25, Ali Abdul Ghani wrote: > Welcome > Are you one who can help me To convert this main to Function??? This list is not for general help getting your code to work, please find a more appropriate place to ask. Wherever you post it, you will be expected to say what you expect it to do and what doesn't work. Just posting code and saying "please help" is a waste of time.