Hi Davsexcel and Jon,
Thank you. I don't know why the code is giving error from your end. It's working fine and changing the numbers in a8 automatically after entering any number in g7 and hitting enter key or change the cell by arrow key to right direction.
I have added two lines in it to avoide the problem of annoying and changing values in a8 each time after selection but now getting compile error 424 object require in the following code amendment.
if you have any new approach to achieve it please do share it with me. Is there any way to change receipt number function into a standard module code so that I will run a macro whenever I need which will be better than automatic after hitting enter key in g7.
Thank you.
Bookmarks