<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[VBA Может кто знает?]]></title><description><![CDATA[<p dir="auto">Нихерово думаю даёт новая стратегия, радуюсь,  смотрю блэт, а он не те кэфы считает...<br />
Тут много шарящих людей, поэтому спрошу, может кто знает как тут поменять код vba, чтобы парсил фору -1, а то он упорно парсит -1,75 ?<br />
Я понимаю что процесс видимо идёт по коду сверху и встречает первое вхождение, а там odds_ah_-1,75 , ну он и парсит "odds_ah_-1", что надо прописать, чтобы  искал именно "odds_ah_-1"?</p>
<pre><code>objRegExp.Pattern = "odds_ah_-1(.*?)bookmaker(.*?)*(.*?)odds-wrap(.*?)alt=" &amp; Chr(34) &amp; "(.*?):" &amp; Chr(34) &amp; "&gt;(.*?)&lt;\/span&gt;(.*?)odds-wrap(.*?)alt=" &amp; Chr(34) &amp; "(.*?):" &amp; Chr(34) &amp; "&gt;(.*?)&lt;\/span&gt;"
    If objRegExp.test(fs_input) = True Then
        Set objMatches = objRegExp.Execute(fs_input)
        objRegExp.Pattern = "(.*)\[(.*)\](.*)"
        If objRegExp.test(objMatches.Item(0).submatches(4)) = True Then
            Set objMatches2 = objRegExp.Execute(objMatches.Item(0).submatches(4))
            Sheets("Коэффициенты").Range("A31").Value = "Ф1(-1)"
            Sheets("Коэффициенты").Range("B31").Value = objMatches2.Item(0).submatches(0)
            Sheets("Коэффициенты").Range("C31").Value = objMatches2.Item(0).submatches(2)
        Else
            Sheets("Коэффициенты").Range("A31").Value = "Ф1(-1)"
            Sheets("Коэффициенты").Range("B31").Value = objMatches.Item(0).submatches(5)
            Sheets("Коэффициенты").Range("C31").Value = objMatches.Item(0).submatches(5)
        End If
        If objRegExp.test(objMatches.Item(0).submatches(8)) = True Then
            Set objMatches2 = objRegExp.Execute(objMatches.Item(0).submatches(8))
            Sheets("Коэффициенты").Range("A32").Value = "Ф2(+1)"
            Sheets("Коэффициенты").Range("B32").Value = objMatches2.Item(0).submatches(0)
            Sheets("Коэффициенты").Range("C32").Value = objMatches2.Item(0).submatches(2)
        Else
            Sheets("Коэффициенты").Range("A32").Value = "Ф2(+1)"
            Sheets("Коэффициенты").Range("B32").Value = objMatches.Item(0).submatches(9)
            Sheets("Коэффициенты").Range("C32").Value = objMatches.Item(0).submatches(9)
        End If
    End If
</code></pre>
<p dir="auto"><a href="https://www.soccer24.com/match/d6UpT4Wn/#odds-comparison;asian-handicap;full-time" target="_blank" rel="noopener noreferrer nofollow ugc">https://www.soccer24.com/match/d6UpT4Wn/#odds-comparison;asian-handicap;full-time</a></p>
]]></description><link>https://wewin.ru/topic/447/vba-может-кто-знает</link><generator>RSS for Node</generator><lastBuildDate>Wed, 20 May 2026 13:50:54 GMT</lastBuildDate><atom:link href="https://wewin.ru/topic/447.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 03 Mar 2021 07:59:08 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to VBA Может кто знает? on Wed, 03 Mar 2021 08:12:40 GMT]]></title><description><![CDATA[<p dir="auto">А всё разобрался, кавычки блин) , тему можно удалять</p>
]]></description><link>https://wewin.ru/post/9215</link><guid isPermaLink="true">https://wewin.ru/post/9215</guid><dc:creator><![CDATA[x]]></dc:creator><pubDate>Wed, 03 Mar 2021 08:12:40 GMT</pubDate></item></channel></rss>