View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
via135 via135 is offline
external usenet poster
 
Posts: 94
Default getting msg box for no match!

hi all!

if there is no match available for the following code i want a msg box
"No Match" and alternately i should be able to input any text
value ..!
is it possible?!


ws.Cells(iRow, 1).Value = Application.Index(Worksheets("db").Range _
("B:B"), Application.Match(CLng(txtMicr.Text),
Worksheets("db").Range("A:A"), 0))


help pl?

regds!

-via135