<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/">
	<channel>
		<title>help for vba problem</title>
		<link>https://www.lotterypost.com/thread/333200</link>
		<atom:link href="https://www.lotterypost.com/rss/topic/333200" rel="self" type="application/rss+xml" />
		<description>Lottery Post Forum Topic: help for vba problem</description>
		<dc:language>en-us</dc:language>
		<generator>Lottery Post RSS Generator</generator>
		<item>
			<title>Reply #17</title>
			<link>https://www.lotterypost.com/thread/333200/6410881</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6410881</guid>
			<pubDate>Sun, 13 Sep 2020 16:58:58 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Wow<br /><br />Well, it&#x27;s nothing, it works beautifully. Thank you for your efforts.<br /><br />I test and learn in the meantime, because I have something to learn, two to three times faster than what I have DIY put together so far.<br /><br />But progress can&#x27;t stop, so I&#x27;m thinking a lot more,<br /><br />And I will add to my list the things I wrote earlier:<br /><br />I will then try to calculate the probability that all numbers can be included in the next draw. (I would add that this is also vague, but see if something comes... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6410881">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #16</title>
			<link>https://www.lotterypost.com/thread/333200/6410726</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6410726</guid>
			<pubDate>Sun, 13 Sep 2020 13:30:10 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Hi phileight<br /><br />Thank you very much<br /><br />I&#x27;ll review your solution soon.<br /><br />Of course, I will notify you of my comment immediately.<br /><br />I add as I slept one of my thoughts, the solution came from repetition.<br /><br />It&#x27;s not nice but I think it works, based on the former.<br /><br />If ag = Sheets3.Cells(hislr, 4).Value Then &#x27;The first element of the last line of historical data<br /><br />rep1 = 1<br /><br />Else<br /><br />rep1 = 0<br /><br />End If<br /><br />...<br /><br />repeat = rep1 + rep2 + rep3 + rep4 + rep5 + rep6 + rep7<br /><br />If repeat 0 O... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6410726">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #15</title>
			<link>https://www.lotterypost.com/thread/333200/6410164</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6410164</guid>
			<pubDate>Sat, 12 Sep 2020 21:09:06 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>Elek<br /><br />see link below. do not include this link in any reply as it would cause you to violate a forum policy. i think this includes every thing you have asked for. you will need to replace the test data with your history data. questions let me know<br /><br />https://www.dropbox.com/s/xezgvqyhztrlblm/elek.xlsm?dl=0</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Reply #14</title>
			<link>https://www.lotterypost.com/thread/333200/6409684</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6409684</guid>
			<pubDate>Sat, 12 Sep 2020 10:43:11 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Have a nice day phileight<br /><br />If you re already kind enough to deal with it, please take that into account.<br /><br />While trying the generator and filtering, I also saw an opportunity to repeat the numbers, such as:<br /><br />Week 4 - 3, 10, 13, 30, 31, 33, 34<br /><br />Week 5 - 8, 10, 22, 26, 28, 32, 34<br /><br />2 numbers are repeated, their location is not the same, of course, only in this case, and then I filter the possibilities.<br /><br />I also want to filter this somehow:<br /><br />I don&#x27;t know the code here<br /><br />If r... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6409684">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #13</title>
			<link>https://www.lotterypost.com/thread/333200/6408921</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6408921</guid>
			<pubDate>Fri, 11 Sep 2020 16:13:45 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>had not heard from you for a while. I have alredy forgotten what i did. let me review this thread to get it all in mind again. as a first guess, rather than provide a bit of code i will try to provide a file you can download. give me a couple days</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Reply #12</title>
			<link>https://www.lotterypost.com/thread/333200/6408672</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6408672</guid>
			<pubDate>Fri, 11 Sep 2020 08:05:33 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Hi phileight<br /><br />I tried to solve things with more or less success.<br /><br />I have answered the second point above, I am icing the third one for the time being.<br /><br />For the first, my solution is:<br /><br />ah = Sheet2.Cells (i, 4) .Value<br /><br />... &#x27;so I&#x27;ll record the historical data<br /><br />hd (ah) = 1: hd (bh) = 1: hd (ch) = 1: hd (dh) = 1: hd (eh) = 1: hd (fh) = 1: hd (gh) = 1<br /><br />then I load it into the array and the code you provide will continue to work the same as well as scan only a specific area... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6408672">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #11</title>
			<link>https://www.lotterypost.com/thread/333200/6382296</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6382296</guid>
			<pubDate>Fri, 14 Aug 2020 08:28:19 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Also, I still have to add to the previous ones, I realized what was wrong with this:<br /><br />a = Cells (hl, dl): hd (a) = 1<br /><br />All it takes is that there are serial numbers in column &#x27;A&#x27;,<br /><br />Column &#x27;B&#x27; dates and is also included in the calculation.</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #10</title>
			<link>https://www.lotterypost.com/thread/333200/6382288</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6382288</guid>
			<pubDate>Fri, 14 Aug 2020 07:34:32 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Dear phileight<br /><br />Ok, I tried my second problem and answered it that way.<br /><br />Not a solution I came up with because then the sum filter is not closed and cannot run. In all cases, you must click Go to rejected.<br /><br />Then only Problems 1 and 3 remained.<br /><br />Thanks<br /><br />Hi Elek</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #9</title>
			<link>https://www.lotterypost.com/thread/333200/6382287</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6382287</guid>
			<pubDate>Fri, 14 Aug 2020 07:27:11 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Dear phileight<br /><br />I had some free time, looked at his modifications and it works beautifully. Thank you for your efforts.<br /><br />However, my stupidity is basic design. So I would have three more questions.<br /><br />1. I would transfer the historical data to Sheet1, which would be called Drws , and also draw to the D3: J-last line. Where should I change the path and reference of hd (35)? The generated number strings would be in the range B3: H103 as Sheet2 &#x27;Gen&#x27;.<br /><br />2. If I put another filter o... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6382287">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #8</title>
			<link>https://www.lotterypost.com/thread/333200/6373578</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6373578</guid>
			<pubDate>Tue, 04 Aug 2020 23:46:14 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>adding the comment will prevent checking your history.<br /><br />for checking sum see code in green below<br /><br />Sub allgen()<br /><br />Dim gd(35) &#x27; array for generated data<br /><br />Dim hd(35) &#x27; array for historical data<br /><br />Dim iRow As Long<br /><br />Dim FirstRow As Long<br /><br />Dim LastRow As Long<br /><br />Dim sor_szam As Integer<br /><br />Dim gorgo As Variant<br /><br />&#x27;Munka1.Range( L3:R100 ).ClearContents<br /><br />timebegin = Now()<br /><br />oldStatusBar = Application.DisplayStatusBar<br /><br />Application.DisplayStatusBar = True<br /><br />Application.StatusBar... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6373578">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Reply #7</title>
			<link>https://www.lotterypost.com/thread/333200/6373546</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6373546</guid>
			<pubDate>Tue, 04 Aug 2020 23:20:34 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>based on your code i set the dimension of this array to 35. if the highest number in your data is greater than 35 that would cause this problem. check the value of a when it fails set your dimension value to match or a bit higher.</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Reply #6</title>
			<link>https://www.lotterypost.com/thread/333200/6373307</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6373307</guid>
			<pubDate>Tue, 04 Aug 2020 18:17:35 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Welcome phileight<br /><br />I tried your code, I haven&#x27;t measured vba so much yet.<br /><br />Writes in the area marked in yellow (Runtime error 9).<br /><br />...<br /><br />For dl = 1 To 7 &#x27; number of data elements<br /><br />a = Cells(hl, dl): hd(a) = 1<br /><br />Next dl<br /><br />...<br /><br />If I comment on the given code part, the program will run. but I think it should be added<br /><br />e.g.<br /><br />a = Cells(hl, dl)&#x27;: hd(a) = 1<br /><br />I also noticed another narrowing option. The sum of the numbers.<br /><br />How could it be inserted into the code?<br /><br />In my case... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6373307">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #5</title>
			<link>https://www.lotterypost.com/thread/333200/6372939</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6372939</guid>
			<pubDate>Tue, 04 Aug 2020 11:34:30 GMT</pubDate>
			<dc:creator>Todd</dc:creator>
			<description><![CDATA[<p></p>]]></description>
			<category>Todd</category>
		</item>
		<item>
			<title>Reply #4</title>
			<link>https://www.lotterypost.com/thread/333200/6372720</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6372720</guid>
			<pubDate>Tue, 04 Aug 2020 02:32:36 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Dear phileight<br /><br />Thank you very much.<br /><br />I&#x27;ll review your code throughout the day.<br /><br />Drawing 103 was included as an example only and I tried my code.<br /><br />As soon as I succeed, I signal<br /><br />Thanks<br /><br />Goodbye Elek</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #3</title>
			<link>https://www.lotterypost.com/thread/333200/6372717</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6372717</guid>
			<pubDate>Tue, 04 Aug 2020 02:27:56 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Dear phileight<br /><br />It is about 2200 drawings<br /><br />I would like to exclude all 7, in principle there was no repetition in our lottery yet<br /><br />Now I&#x27;m studying excel vba, the repair is on a smaller level,<br /><br />but i hope if i get stuck you can help me.</p>]]></description>
			<category>Elek</category>
		</item>
		<item>
			<title>Reply #2</title>
			<link>https://www.lotterypost.com/thread/333200/6372656</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6372656</guid>
			<pubDate>Tue, 04 Aug 2020 01:01:06 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>see below. i cannot run this code without the data. i have put a blank line before and after the changes i made and made them red. your code indicates there is only 103 draws in your history so that is the number i used. i have tried to put in enough comments so you can understand what the program is doing. enjoy<br /><br />Sub allgen()<br /><br />Dim gd(35) &#x27; array for generated data<br /><br />Dim hd(35) &#x27; array for historical data<br /><br />Dim iRow As Long<br /><br />Dim FirstRow As Long<br /><br />Dim LastRow As Long<br /><br />Dim sor_sza... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200/6372656">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>Reply #1</title>
			<link>https://www.lotterypost.com/thread/333200/6372562</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200/6372562</guid>
			<pubDate>Mon, 03 Aug 2020 23:33:29 GMT</pubDate>
			<dc:creator>phileight</dc:creator>
			<description><![CDATA[<p>questions. how many previous drawings do you want to check?<br /><br />how close a match should be rejected? all seven digits, 6, only 5.<br /><br />do you know how to edit the code if a patch is provided</p>]]></description>
			<category>phileight</category>
		</item>
		<item>
			<title>help for vba problem</title>
			<link>https://www.lotterypost.com/thread/333200</link>
			<guid isPermaLink="true">https://www.lotterypost.com/thread/333200</guid>
			<pubDate>Mon, 03 Aug 2020 18:33:25 GMT</pubDate>
			<dc:creator>Elek</dc:creator>
			<description><![CDATA[<p>Hi everybody<br /><br />I was mistaken in the topics<br /><br />I&#x27;m sorry, but I want help with the excel vba problem below<br /><br />I turn to you because I have a question.<br /><br />The following document lists the extracted numbers and a generated list.<br /><br />I ran into drawing lots of numbers that had already been played.<br /><br />How could the number strings that have already been drawn be filtered out in the generator?<br /><br />So some cleverness should be added to the code below!<br /><br />Thanks for the help.<br /><br />I don&#x27;t know how to put... &#x5b;&#xa0;<a href="https://www.lotterypost.com/thread/333200">More</a>&#xa0;&#x5d;</p>]]></description>
			<category>Elek</category>
		</item>
	</channel>
</rss>

