Hi, Using Excel XP VBA
I just want to know if its possible to have a sub procedure receiving lets say six arguments. These are arguments to perform a search on a list. These six arguments may or may not be all there. For example a person may want to search by name and leave the other arguments blank. Is it possible for a procedure to take the arguments that dont have blanks and have defaults for the arguments with blanks???
Man I dont think this is very clear. What I want to do is develope search form that searches a list inside an excel worksheet with different criteria (5 in all). I have never done this before and I`m looking for a way to program this. What I though of doing and hope to find a better was was to pass the first filter on the list and copy the data to another worksheet. After that the other four arguments do the same one by one to the remaining list. Is this understandable? Did anybody do something like this before??
Thx for the help
Simon
I just want to know if its possible to have a sub procedure receiving lets say six arguments. These are arguments to perform a search on a list. These six arguments may or may not be all there. For example a person may want to search by name and leave the other arguments blank. Is it possible for a procedure to take the arguments that dont have blanks and have defaults for the arguments with blanks???
Man I dont think this is very clear. What I want to do is develope search form that searches a list inside an excel worksheet with different criteria (5 in all). I have never done this before and I`m looking for a way to program this. What I though of doing and hope to find a better was was to pass the first filter on the list and copy the data to another worksheet. After that the other four arguments do the same one by one to the remaining list. Is this understandable? Did anybody do something like this before??
Thx for the help
Simon