VBA search multiple textbox values

  • Hi, please could anyone help add to the following code so that it will search depending on which textbox, out of three search options is chosen to define the search term. Basically, I'd like to get it to search column A of the worksheet for "pID", column B for "p.code" or column C for "p.title". Any help greatly appreciated.