There's a bug or error in the code or workbook somewhere but I can't seem to find it or understand why is this happening.
What's happening is There's a userform which has a button to :
- Select a cell from sheet2
- Put the selected cell value in sheet1 cell B10 which is a dropdown menu
- Unloads the form return to sheet1 and select a cell which is described in the code as sheet1.B26 now .
Now as soon as the form is gone. If I click in the sheet1.B26 selected cell and write something press {TAB}
the content from that cell is transferred to the exact same cell but on sheet2 automatically and sheet1.B26 cell is empty .
This happens only once if I immediately start writing in the selected cell when the form is gone.
There is no code/formula in the worksheet or workbook or module that should describes this action.
This is bugging me for a week but I couldn't find solution anywhere.
Workbook if you wish to download it and try it.
Video Description of the error
To recreate this:
- Go to sheet1
- Fire up the form using very first button on sheet1 which has "Klant zoek" text on it.
- Press the button which say "selecteer" on the form.
- Without selecting any other cell Enter something in last selected cell by the macro and press tab.
P.S. - I didn't write any of the code in that workbook I am just assigned to debug it.