View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Frank Kabel Frank Kabel is offline
external usenet poster
 
Posts: 3,885
Default Need to Check Something

Hi
change the line
if lcase(wks_1.name) <lcase(test_value)
to
if lcase(left(wks_1.name,3)) <lcase(test_value)

--
Regards
Frank Kabel
Frankfurt, Germany


Thanks, you have me in the right direction... But, what if my
worksheet is called 101NOW and 101-MAR

How can I have it just check for the 101 in the worksheet name?


---
Message posted from http://www.ExcelForum.com/