Hi,

How can I call it under a command button code?

VB Code:
  1. Private Sub txtSearch_KeyUp(KeyCode As Integer, Shift As Integer)

Call txtSearch_KeyUp

or

Call txtSearch_KeyUp(KeyCode As Integer, Shift As Integer

Both are not working.

How it can be done?

seema_s