Greeting everyone,
I made a simple program to calculate the electric bill. The user has to enter a value in a cell (D6) then he or she should hit enter from the keyboard. Then, he should click on a button, on the same sheet, or hit enter again to get the results in two different cells (D8 an D10).
I'm not using forms or text box.
I looked everywhere for an expression (code) to set the focus to the command button after entering the value in the cell (D6) and hit enter on a keyboard, but I didn't find any thing useful.
I don't have much experience in excel programming, however, I like to learn some of it.
Please give me your valuable advice to win the war.
Regards,
Wael
Bookmarks