<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/vba</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 11:11:22 GMT</pubDate>
<item>
<title>(Visual Basic) Dictionary loader - lolrenx</title>
<link>http://snipplr.com/view/69353/dictionary-loader/</link>
<description><![CDATA[ <p>short loop to load a dictionary</p> ]]></description>
<pubDate>Fri, 04 Jan 2013 20:05:22 GMT</pubDate>
<guid>http://snipplr.com/view/69353/dictionary-loader/</guid>
</item>
<item>
<title>(Visual Basic) Left of - lolrenx</title>
<link>http://snipplr.com/view/69170/left-of/</link>
<description><![CDATA[ <p>Left of separator</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 03:03:52 GMT</pubDate>
<guid>http://snipplr.com/view/69170/left-of/</guid>
</item>
<item>
<title>(Visual Basic) Right of Last - lolrenx</title>
<link>http://snipplr.com/view/69169/right-of-last/</link>
<description><![CDATA[ <p>Right of last instance</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 03:02:57 GMT</pubDate>
<guid>http://snipplr.com/view/69169/right-of-last/</guid>
</item>
<item>
<title>(Visual Basic) Range to String - lolrenx</title>
<link>http://snipplr.com/view/69168/range-to-string/</link>
<description><![CDATA[ <p>Concatenate all text in cells with defined separator</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 02:59:14 GMT</pubDate>
<guid>http://snipplr.com/view/69168/range-to-string/</guid>
</item>
<item>
<title>(Visual Basic) Format Header Range - lolrenx</title>
<link>http://snipplr.com/view/69167/format-header-range/</link>
<description><![CDATA[ <p>quick way to get column headers formatted</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 02:56:27 GMT</pubDate>
<guid>http://snipplr.com/view/69167/format-header-range/</guid>
</item>
<item>
<title>(Visual Basic) Datarange as Class - lolrenx</title>
<link>http://snipplr.com/view/69166/datarange-as-class/</link>
<description><![CDATA[ <p>consider currentregion as a 'datarange' custom class</p> ]]></description>
<pubDate>Thu, 20 Dec 2012 02:53:17 GMT</pubDate>
<guid>http://snipplr.com/view/69166/datarange-as-class/</guid>
</item>
<item>
<title>(Visual Basic) Copy rows based on criteria to a new sheet or file - angelia</title>
<link>http://snipplr.com/view/68568/copy-rows-based-on-criteria-to-a-new-sheet-or-file/</link>
<description><![CDATA[ <p>Copy rows based on criteria to a new sheet or file</p> ]]></description>
<pubDate>Thu, 15 Nov 2012 05:57:12 GMT</pubDate>
<guid>http://snipplr.com/view/68568/copy-rows-based-on-criteria-to-a-new-sheet-or-file/</guid>
</item>
<item>
<title>(Visual Basic) 'Append data from multiple worksheet to single worksheet macro - angelia</title>
<link>http://snipplr.com/view/68567/append-data-from-multiple-worksheet-to-single-worksheet-macro/</link>
<description><![CDATA[ <p>'Append data from multiple worksheet to single worksheet macro</p> ]]></description>
<pubDate>Thu, 15 Nov 2012 05:54:53 GMT</pubDate>
<guid>http://snipplr.com/view/68567/append-data-from-multiple-worksheet-to-single-worksheet-macro/</guid>
</item>
<item>
<title>(Visual Basic) Splitting the words in a  TitleCase string without using regular expressions (for VBA) - warwick-datum-process</title>
<link>http://snipplr.com/view/65842/splitting-the-words-in-a--titlecase-string-without-using-regular-expressions-for-vba/</link>
<description><![CDATA[ <p>Using VBA (Visual Basic for Applications) in MS Access, I needed to convert TitleCase to lower\_case, but did not have the regex enqine that's available in VB Script.  This solution,  based on a simple state machine model, splits the words in the string (converting to lower-case is trivial after that).  It treats a block of upper-case letters as a single word, but the last letter of that block is the first letter of the next word; e.g., "VBAIsLame" becomes "VBA Is Lame".   Because of this behaviour, if you subsequently convert to lower-case, you cannot reliably convert back to the original (all-upper-case words are indistinguishable from title-case words).  To resolve this potential ambiguity, you can supply an "upper\_case\_indicator" that will be inserted before each capital letter that isn't the start of a word.  So `TitleCaseSplit("VBAIsLame", "_", "-")` returns "V-B-A\_Is\_Lame".</p> ]]></description>
<pubDate>Thu, 28 Jun 2012 03:16:13 GMT</pubDate>
<guid>http://snipplr.com/view/65842/splitting-the-words-in-a--titlecase-string-without-using-regular-expressions-for-vba/</guid>
</item>
<item>
<title>(Visual Basic) Access 2007 Query via Execute - jfherring</title>
<link>http://snipplr.com/view/65697/access-2007-query-via-execute/</link>
<description><![CDATA[ <p>Running queries in Access to ignore warnings and get affected record count</p> ]]></description>
<pubDate>Tue, 19 Jun 2012 02:50:45 GMT</pubDate>
<guid>http://snipplr.com/view/65697/access-2007-query-via-execute/</guid>
</item>
<item>
<title>(Visual Basic) Read a Text File Line by Line - joseamirandavelez</title>
<link>http://snipplr.com/view/65506/read-a-text-file-line-by-line/</link>
<description><![CDATA[ <p>Basic commands for reading a text file one line at a time.</p> ]]></description>
<pubDate>Sat, 09 Jun 2012 08:36:00 GMT</pubDate>
<guid>http://snipplr.com/view/65506/read-a-text-file-line-by-line/</guid>
</item>
<item>
<title>(Visual Basic) Speed Up Excel Macro Execution - joseamirandavelez</title>
<link>http://snipplr.com/view/65505/speed-up-excel-macro-execution/</link>
<description><![CDATA[ <p>Turn off screen updating, formula calculation and events in order to prevent Excel from doing all of them and speed up macro execution.</p> ]]></description>
<pubDate>Sat, 09 Jun 2012 08:34:48 GMT</pubDate>
<guid>http://snipplr.com/view/65505/speed-up-excel-macro-execution/</guid>
</item>
<item>
<title>(Visual Basic) Alternative Split Function - joseamirandavelez</title>
<link>http://snipplr.com/view/65504/alternative-split-function/</link>
<description><![CDATA[ <p>Found in the internet. By default, it splits using all the characters in CHARS. Useful to get a list of words in a string.</p> ]]></description>
<pubDate>Sat, 09 Jun 2012 08:31:47 GMT</pubDate>
<guid>http://snipplr.com/view/65504/alternative-split-function/</guid>
</item>
<item>
<title>(Visual Basic) Get LDAP Full Name from LDAP username - joseamirandavelez</title>
<link>http://snipplr.com/view/65503/get-ldap-full-name-from-ldap-username/</link>
<description><![CDATA[ <p>This function is very rough and right now is hard coded to return the common name. This can be useful if, for example, you have a list of usernames in Excel and you want to get the name of the person. However, it can be used in any VBA application.</p> ]]></description>
<pubDate>Sat, 09 Jun 2012 08:29:35 GMT</pubDate>
<guid>http://snipplr.com/view/65503/get-ldap-full-name-from-ldap-username/</guid>
</item>
<item>
<title>(Visual Basic) RemoveCharacters - hzarka</title>
<link>http://snipplr.com/view/59650/removecharacters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 23:27:46 GMT</pubDate>
<guid>http://snipplr.com/view/59650/removecharacters/</guid>
</item>
<item>
<title>(Visual Basic) ConvertAccent - hzarka</title>
<link>http://snipplr.com/view/59649/convertaccent/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 23:22:15 GMT</pubDate>
<guid>http://snipplr.com/view/59649/convertaccent/</guid>
</item>
<item>
<title>(Visual Basic) Powerpoint - Split Text - kaze</title>
<link>http://snipplr.com/view/57858/powerpoint--split-text/</link>
<description><![CDATA[ <p>**What It Does**
Extracts the words out of a selected text shape in Powerpoint, and then creates separate shapes for them. 

**To use:**

1. Create your Text shape. Type your text. Format it, color it, etc.
2. Select the text shape.
3. Run macro.</p> ]]></description>
<pubDate>Tue, 16 Aug 2011 10:07:30 GMT</pubDate>
<guid>http://snipplr.com/view/57858/powerpoint--split-text/</guid>
</item>
<item>
<title>(Visual Basic) MS Excel: Remove all images - mikaelpelle</title>
<link>http://snipplr.com/view/57677/ms-excel-remove-all-images/</link>
<description><![CDATA[ <p>VBA script to remove all the images present in the active sheet of the Microsoft Excel spreadsheet.</p> ]]></description>
<pubDate>Mon, 08 Aug 2011 19:55:03 GMT</pubDate>
<guid>http://snipplr.com/view/57677/ms-excel-remove-all-images/</guid>
</item>
<item>
<title>(Visual Basic) VBA: Export excel range as image and save as file. - win4me</title>
<link>http://snipplr.com/view/54755/vba-export-excel-range-as-image-and-save-as-file/</link>
<description><![CDATA[ <p>PROBLEM:
How to save Excel range into image file. VBA macro in Excel 2007.

SOLUTION:
Create an empty chart, paste range image into chart area, and Export as image file.

Modify code to suite to your needs.</p> ]]></description>
<pubDate>Thu, 02 Jun 2011 06:36:10 GMT</pubDate>
<guid>http://snipplr.com/view/54755/vba-export-excel-range-as-image-and-save-as-file/</guid>
</item>
<item>
<title>(Visual Basic) Change Highlight Color Excel 2007 - aianrnoens</title>
<link>http://snipplr.com/view/50011/change-highlight-color-excel-2007/</link>
<description><![CDATA[ <p>Use this code to change the default highlight color for a cell in excel 2007.   Right click on the sheet name and click view code,  Paste this code into the module that comes up.</p> ]]></description>
<pubDate>Fri, 04 Mar 2011 03:27:14 GMT</pubDate>
<guid>http://snipplr.com/view/50011/change-highlight-color-excel-2007/</guid>
</item>
</channel>
</rss>