<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.office.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" 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>Simplifying data entry with a list box and VBA code</title><link>http://blogs.office.com/b/microsoft-excel/archive/2012/02/14/simplifying-data-entry-in-excel-.aspx</link><description>We show you how we used an ActiveX list box control and some VBA code to allow our users to enter multiple choices in cells.</description><dc:language>en-US</dc:language><generator>Telligent Community 1.5.134.15456 (Build: 5.5.134.15456)</generator><item><title>re: Simplifying data entry with a list box and VBA code</title><link>http://blogs.office.com/b/microsoft-excel/archive/2012/02/14/simplifying-data-entry-in-excel-.aspx#30934</link><pubDate>Thu, 22 Mar 2012 14:37:47 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:30934</guid><dc:creator>Pbowser</dc:creator><description>&lt;p&gt;Question: I have a file that has over 300 lines of data. does anyone know a code that will add in two lines after each data. I am new at VBA so any help will be helpful. &lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=30934" width="1" height="1"&gt;</description></item><item><title>re: Simplifying data entry with a list box and VBA code</title><link>http://blogs.office.com/b/microsoft-excel/archive/2012/02/14/simplifying-data-entry-in-excel-.aspx#30727</link><pubDate>Mon, 20 Feb 2012 05:03:37 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:30727</guid><dc:creator>ShelLuser</dc:creator><description>&lt;p&gt;Thanks for the update!&lt;/p&gt;
&lt;p&gt;Its what I really came to enjoy and respect about this blog; you guys don&amp;#39;t merely share interesting stories but you keep track of comments and such too.&lt;/p&gt;
&lt;p&gt;And I really enjoyed following up on your article. Thanks for sharing, it maybe a small sub but it does make a difference.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=30727" width="1" height="1"&gt;</description></item><item><title>re: Simplifying data entry with a list box and VBA code</title><link>http://blogs.office.com/b/microsoft-excel/archive/2012/02/14/simplifying-data-entry-in-excel-.aspx#30703</link><pubDate>Wed, 15 Feb 2012 23:56:26 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:30703</guid><dc:creator>Gary Willoughby</dc:creator><description>&lt;p&gt;Thanks for your comments; I just added the code for the ClearBoxSelections subroutine -- good catch. I&amp;#39;d also like to mention that another reason we needed to use VBA was to get the numeric IDs (1574, 1576, etc., as shown in the last image) written correctly in the adjacent cell. Having users do that manually would have likely introduced errors into the worksheet. Anyway, glad you found this interesting.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=30703" width="1" height="1"&gt;</description></item><item><title>re: Simplifying data entry with a list box and VBA code</title><link>http://blogs.office.com/b/microsoft-excel/archive/2012/02/14/simplifying-data-entry-in-excel-.aspx#30702</link><pubDate>Wed, 15 Feb 2012 22:31:20 GMT</pubDate><guid isPermaLink="false">53587256-c606-4c9b-bad4-97c86b12ce62:30702</guid><dc:creator>ShelLuser</dc:creator><description>&lt;p&gt;Thanks for an interesting article!&lt;/p&gt;
&lt;p&gt;I have, however, a few comments.. &amp;nbsp;Your example is a bit hard to follow here and there, especially the part where you first present us with all the code and then start to repeat snippets of if to explain. I see what you&amp;#39;re trying to do, but it makes it a bit more difficult to follow. Especially since you talk about 2 Subs while in fact you only shared 1 (either I&amp;#39;m overlooking it, but it seems to me as if &amp;quot;ClearBoxSelections&amp;quot; is no where to be found).&lt;/p&gt;
&lt;p&gt;The confusion should be obvious; even without the sub to clear the checkboxes this behavior will occur anyway at times ;-) &amp;nbsp;Still, no offense but I get the feeling you&amp;#39;re making it a little bit too hard to follow for the average user.&lt;/p&gt;
&lt;p&gt;One small bit of (positive!) criticism.. &amp;nbsp;I think you&amp;#39;re better of when keeping explicit declarations turned on (iow; the code always starts with the line &amp;quot;Option Explicit&amp;quot; to set this global option). It helps you to keep your code &amp;quot;managable&amp;quot; and often makes it easier to read because all variables in your subs will need to be declared first.&lt;/p&gt;
&lt;p&gt;Still, I applaud this approach! &amp;nbsp;I&amp;#39;ve written in before, I&amp;#39;ll do it again: In my opinion people can really benefit from playing with VBA. Its often not as hard as you may think it to be, while it actually gives you tremendous freedom to make the software do what /you/ want it to do.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.office.com/aggbug.aspx?PostID=30702" width="1" height="1"&gt;</description></item></channel></rss>