View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
linglc linglc is offline
external usenet poster
 
Posts: 31
Default WorksheetFunction OR

I have the following to test if the input from inputbox contains the name
"Jacqueline" or "Mary". However it returns the message "Unable to get the OR
property of the worksheet function class". Anyone know what is wrong?

If Name Like WorksheetFunction.Or("*Jacqueline*", "*Mary*") Then