{"id":304,"date":"2011-07-07T00:18:23","date_gmt":"2011-07-06T19:18:23","guid":{"rendered":"http:\/\/kennywu.info\/?p=304"},"modified":"2011-07-07T00:18:23","modified_gmt":"2011-07-06T19:18:23","slug":"excel-search-from-right-to-left","status":"publish","type":"post","link":"http:\/\/kennywu.info\/?p=304","title":{"rendered":"Excel search from right to left"},"content":{"rendered":"<p><code><br \/>\nFunction RevInStr(findin As Range, tofind As String) As Integer<\/p>\n<p>    ' Chris Rae's VBA Code Archive - http:\/\/chrisrae.com\/vba<\/p>\n<p>    Dim findcha As Integer<\/p>\n<p>    For findcha = Len(findin) - Len(tofind) + 1 To 1 Step -1<\/p>\n<p>        If Mid(findin, findcha, Len(tofind)) = tofind Then<\/p>\n<p>            RevInStr = findcha<\/p>\n<p>            Exit Function<\/p>\n<p>        End If<\/p>\n<p>    Next findcha<\/p>\n<p>    ' Defaults to zero anyway (tsk, tsk, etc)<\/p>\n<p>End Function<br \/>\n<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Function RevInStr(findin As Range, tofind As String) As Integer &#8216; Chris Rae&#8217;s VBA Code Archive &#8211; http:\/\/chrisrae.com\/vba Dim findcha As Integer For findcha = Len(findin) &#8211; Len(tofind) + 1 To 1 Step -1 If Mid(findin, findcha, Len(tofind)) = tofind Then &hellip; <a href=\"http:\/\/kennywu.info\/?p=304\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[],"class_list":["post-304","post","type-post","status-publish","format-standard","hentry","category-msoffice"],"_links":{"self":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/304","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=304"}],"version-history":[{"count":1,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/304\/revisions"}],"predecessor-version":[{"id":305,"href":"http:\/\/kennywu.info\/index.php?rest_route=\/wp\/v2\/posts\/304\/revisions\/305"}],"wp:attachment":[{"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=304"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kennywu.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}