<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: in VBA Forum</title>
    <link>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327516#M91443</link>
    <description>Hey Josh-&lt;BR /&gt;
That code worked great.  Appreciate the help very much.&lt;BR /&gt;
Blaine Loyd</description>
    <pubDate>Mon, 07 Aug 2000 18:53:46 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2000-08-07T18:53:46Z</dc:date>
    <item>
      <title>TextBox control question</title>
      <link>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327513#M91440</link>
      <description>Hey guys - I have a question here regarding TextBox User Imput control.&lt;BR /&gt;
I want to add code that will not allow the user to finish the UserForm unless there are at least 4 digits&lt;BR /&gt;
in the TextBox.  I know how to limit them to 4 digits but I need a way to send a msgbox and stop them &lt;BR /&gt;
if they attempt to put in less than 4.&lt;BR /&gt;
Any suggestions?&lt;BR /&gt;
Blaine Loyd</description>
      <pubDate>Mon, 07 Aug 2000 16:06:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327513#M91440</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-08-07T16:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: TextBox control question</title>
      <link>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327514#M91441</link>
      <description>Hi Blaine,&lt;BR /&gt;
    How about adding something to the effect of the following to your "OK" button:&lt;BR /&gt;
if len(TextBox.Text) &amp;lt; 4 then&lt;BR /&gt;
    MsgBox "You Need at Leats 4 Characters"&lt;BR /&gt;
else&lt;BR /&gt;
    me.hide&lt;BR /&gt;
    'do your stuff&lt;BR /&gt;
end if&lt;BR /&gt;
&lt;BR /&gt;
-Josh&lt;BR /&gt;
&lt;BR /&gt;
blaine23 wrote:&lt;BR /&gt;
&lt;BR /&gt;
&amp;gt; Hey guys - I have a question here regarding TextBox User Imput control.&lt;BR /&gt;
&amp;gt; I want to add code that will not allow the user to finish the UserForm unless there are at least 4 digits&lt;BR /&gt;
&amp;gt; in the TextBox.  I know how to limit them to 4 digits but I need a way to send a msgbox and stop them&lt;BR /&gt;
&amp;gt; if they attempt to put in less than 4.&lt;BR /&gt;
&amp;gt; Any suggestions?&lt;BR /&gt;
&amp;gt; Blaine Loyd</description>
      <pubDate>Mon, 07 Aug 2000 17:38:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327514#M91441</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-08-07T17:38:39Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327515#M91442</link>
      <description>Excuse the typo, that should be "at Least 4 Characters."  &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Mon, 07 Aug 2000 17:39:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327515#M91442</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-08-07T17:39:45Z</dc:date>
    </item>
    <item>
      <title>Re:</title>
      <link>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327516#M91443</link>
      <description>Hey Josh-&lt;BR /&gt;
That code worked great.  Appreciate the help very much.&lt;BR /&gt;
Blaine Loyd</description>
      <pubDate>Mon, 07 Aug 2000 18:53:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/vba-forum/textbox-control-question/m-p/327516#M91443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2000-08-07T18:53:46Z</dc:date>
    </item>
  </channel>
</rss>

