0

When you are working in Excel and double click on a cell,
it selects the cells and gives you a blinking cursor within the cell to enter values or a formula.
I tried the below code, It works ,But it turns off Num Lock on my keyboard (I do not know why) .

SendKeys "{F2}"

Appreciate for yours comments and answers.

Waleed
  • 847
  • 1
  • 4
  • 18

1 Answers1

2

It's a bug in VBA: SendKeys is messing with my NumLock key via VBA code in Access form

To workaround send NumLock:

SendKeys "{F2}"
SendKeys "{NUMLOCK}", True
Xavier Junqué
  • 350
  • 2
  • 5