<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2" -->
<rss version="2.0">
    <channel>
        <title>Lowyat.NET: Latest topics by heliosi</title>
        <description></description>
        <link>http://forum.lowyat.net/</link>
        <lastBuildDate>Fri, 04 Dec 2026 21:45:02 +0800</lastBuildDate>
        <generator>FeedCreator 1.7.2</generator>
        <item>
            <title>VBA UserForm_Initialize clash with TextBox_Change</title>
            <link>http://forum.lowyat.net/topic/4044626</link>
            <description>Hi guys,&lt;br /&gt;&lt;br /&gt;Appreciate your help here...&lt;br /&gt;&lt;br /&gt;I have a hidden worksheet on an Excel Workbook that stores the values for various TextBoxes on a UserForm.&lt;br /&gt;The TextBoxes themselves have a TextBox_Change event&lt;br /&gt;&lt;br /&gt;I have these values re-populated into the UserForm via the UserForm_Initialize event procedure.&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;Private Sub UserForm_Initialize&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;    Dim i As Integer, txtBox As Object, spinBTN As Object&lt;br /&gt;    internalWS = &amp;#34;INTERNAL&amp;#34;&lt;br /&gt;    &lt;br /&gt;    frmScaffProfile.TextBox1.value = Sheets&amp;#40;internalWS&amp;#41;.Cells&amp;#40;5, 45&amp;#41;&lt;br /&gt;    frmScaffProfile.TextBox2.value = Sheets&amp;#40;internalWS&amp;#41;.Cells&amp;#40;6, 45&amp;#41;&lt;br /&gt;    frmScaffProfile.ComboBox1.value = Sheets&amp;#40;internalWS&amp;#41;.Cells&amp;#40;7, 45&amp;#41;&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;But when the UserForm_Initialize event fires, before it can even re-populate the first value, the TextBoxes_Change event is fired first giving a Run-Time Error 13 Mismatch&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;Private Sub TextBox1_Change&amp;#40;&amp;#41;&lt;br /&gt;    Call UpdatePeriodDays&amp;#40;&amp;#34;TXTBOX&amp;#34;&amp;#41;&lt;br /&gt;End Sub&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;&lt;!--c1--&gt;&lt;div class='codetop'&gt;CODE&lt;/div&gt;&lt;div class='codemain'&gt;&lt;!--ec1--&gt;&lt;br /&gt;Public Sub UpdatePeriodDays&amp;#40;Optional ByVal fromCtrl As String&amp;#41;&lt;br /&gt;    Dim i As Integer, j As Integer, counter As Integer&lt;br /&gt;    Dim ctrl As Control&lt;br /&gt;    Dim productiveHours As Integer, equalPart As Integer, _&lt;br /&gt;        remainder As Integer, oddPeriods As Integer, _&lt;br /&gt;        sumPeriodDaysMinusOne As Integer&lt;br /&gt;    &lt;br /&gt;    iPeriods = frmScaffProfile.ComboBox1.value&lt;br /&gt;    totalCampaignDays = frmScaffProfile.TextBox1.value&lt;br /&gt;    productiveHours = frmScaffProfile.TextBox2.value&lt;br /&gt;    sumPeriodDaysMinusOne = 0&lt;br /&gt;&lt;!--c2--&gt;&lt;/div&gt;&lt;!--ec2--&gt;&lt;br /&gt;&lt;br /&gt;Seems a bit like a Catch-22 situation, because the UpdatePeriodDays module requires values in the UserForm, but due to the event sequencing priority the values can&amp;#39;t be populated in the UserForm.&lt;br /&gt;Does anyone have a remedy for this kinda situation? Thanks a lot&amp;#33;</description>
            <author>heliosi</author>
            <category>Codemasters</category>
            <pubDate>Thu, 01 Sep 2016 22:29:56 +0800</pubDate>
        </item>
        <item>
            <title>Cancel Office 365/mo &amp;amp; get Office 365 Yearly?</title>
            <link>http://forum.lowyat.net/topic/3803211</link>
            <description>Hi guys,&lt;br /&gt;&lt;br /&gt;I have subscribed to Office 365 Personal for a while now, on a monthly basis. Recently there has been a price hike from RM21.99/mo to RM27.99/mo effective this month.&lt;br /&gt;&lt;br /&gt;But at the Microsoft Store, they are still selling Office 365 personal at RM219.99 which is less than RM19/mo. &lt;br /&gt;&lt;br /&gt;I understand it&amp;#39;s normal for a yearly subscription to offer a slight discount over the monthly subscription, but RM27.99 to RM19.00 is pretty huge, or maybe Microsoft just hasn&amp;#39;t adjusted the yearly subscription rate yet. &lt;br /&gt;&lt;br /&gt;So in that case should I take advantage of that and cancel my monthly subscription now, and then buy the yearly subscription before they adjust?</description>
            <author>heliosi</author>
            <category>Software</category>
            <pubDate>Sat, 12 Dec 2015 19:45:28 +0800</pubDate>
        </item>
        <item>
            <title>Yet Another Car Scratch Post</title>
            <link>http://forum.lowyat.net/topic/3312261</link>
            <description>Hi guys, today morning I chose to use the fast lane. Today was also my first bumper accident.&lt;br /&gt;&lt;br /&gt;So we exchanged numbers and I asked the lady to quote from a workshop, later on in the day she called and said it would cost RM350 for a whole repaint of the bumper.&lt;br /&gt;&lt;br /&gt;I think that&amp;#39;s a fair price for a repaint job, but from the picture below does that scratch really require a whole repaint? I mean, the scratch area felt rough to my fingernails but I&amp;#39;ve had some friends say that a polish is good enough.&lt;br /&gt;&lt;br /&gt;Do let me know what you think from the picture below&lt;br /&gt;&lt;br /&gt;The car is a Avanza, my car was a blue Saga.&lt;br /&gt;&lt;br /&gt;&lt;img src='http://i.imgur.com/CHS4TdJ.jpg' border='0' alt='user posted image' /&gt;</description>
            <author>heliosi</author>
            <category>The Fast &amp;amp; The Furious</category>
            <pubDate>Wed, 06 Aug 2014 18:52:02 +0800</pubDate>
        </item>
        <item>
            <title>How to reset worksheet indexing</title>
            <link>http://forum.lowyat.net/topic/3218998</link>
            <description>Hi &lt;br /&gt;&lt;br /&gt;I have attached the example in this image&lt;br /&gt;&lt;br /&gt;&lt;a href='http://imgur.com/PhOu2AR' target='_blank'&gt;http://imgur.com/PhOu2AR&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;My program creates a worksheet when a button is pressed. Whenever the button is pressed again, the old worksheet is overwritten.&lt;br /&gt;&lt;br /&gt;I expect the program to be used quite often. As you can see it is already Sheet90. Is there a way to get it to reset to Sheet1?&lt;br /&gt;&lt;br /&gt;If no, is there a numerical limit to to the Sheet indexing? e.g. after Sheet9999 the code will not run anymore?&lt;br /&gt;&lt;br /&gt;Thanks</description>
            <author>heliosi</author>
            <category>Codemasters</category>
            <pubDate>Fri, 09 May 2014 06:02:55 +0800</pubDate>
        </item>
        <item>
            <title>VBA help (VLOOKUP)</title>
            <link>http://forum.lowyat.net/topic/3198864</link>
            <description>Hi,&lt;br /&gt;&lt;br /&gt;Just wanted to ask regarding VLOOKUP() function whereby VLOOKUP(lookup_value, table_array, col_index_num, [range_lookup]),&lt;br /&gt;&lt;br /&gt;Is it possible for arg lookup_value to be a range i.e. not just a single value? &lt;br /&gt;&lt;br /&gt;Say I have two columns with validation drop-down lists, which the user will pick from. Hence there will be two variables to determine the third value in an array on another worksheet through the use of VLOOKUP. &lt;br /&gt;&lt;br /&gt;=VLOOKUP(E2:F2,OperationNorms_1&amp;#33;A101:E102,5,FALSE). &lt;br /&gt;&lt;br /&gt;I get a #VALUE&amp;#33; which Microsoft Help sections says:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;If col_index_num is: Less than 1, VLOOKUP returns the #VALUE&amp;#33; error value.&lt;/b&gt;, even though my column num seem fine&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description>
            <author>heliosi</author>
            <category>Codemasters</category>
            <pubDate>Sat, 19 Apr 2014 22:43:35 +0800</pubDate>
        </item>
        <item>
            <title>Voltage Converter for 110V Electric Drill</title>
            <link>http://forum.lowyat.net/topic/3069572</link>
            <description>-----deleted------&lt;br /&gt;--wrong thread--</description>
            <author>heliosi</author>
            <category>Technical Support</category>
            <pubDate>Tue, 17 Dec 2013 23:29:42 +0800</pubDate>
        </item>
    </channel>
</rss>
