Cutting entered data in a textbox into pieces automatically

  • Thread starter Thread starter Sietske
  • Start date Start date
S

Sietske

How to cut entered data in a textbox into pieces?

I want to make a search form, which can search multiple words at a time in a
memo field. E.g. when a record contains "I am a moron because I know too
little about VBA", and you fill in "little moron VBA", that you can still
find it. The best thing I can think of, is cutting the search entry into
pieces, but how to do it, considered that the space is the place to cut?
 
The split function is usefull for this kind of thing

Pieter
 
Thanks! The split function, followed by a For Each-loop works very well now!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top