<?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/macro</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 08:37:48 GMT</pubDate>
<item>
<title>(Other) insert page breaks in oocalc spreadsheet - thefamousnomo</title>
<link>http://snipplr.com/view/69518/insert-page-breaks-in-oocalc-spreadsheet/</link>
<description><![CDATA[ <p>page break inserted when first letter of first cell in row changes</p> ]]></description>
<pubDate>Thu, 17 Jan 2013 20:56:51 GMT</pubDate>
<guid>http://snipplr.com/view/69518/insert-page-breaks-in-oocalc-spreadsheet/</guid>
</item>
<item>
<title>(SAS) Default Macro Values - webonomic</title>
<link>http://snipplr.com/view/67710/default-macro-values/</link>
<description><![CDATA[ <p>Quite often it is necessary to set a default value for a macro parameter that is passed to a program. If the program is a macro, the %IF statement can be used to check if the value is provided and provide a default value if not. Since %IF statements are not allowed outside of macros, that technique won't work for a non-macro program (e.g., a file/program that is %INCLUDEd). The following code snippet demonstrates the use of the COALESCEC function to assign a default value.

since macro is a text manipulation facility, the coalesceC function is used regardless of whether the expected value for the parameter is numeric (i.e., everything in macro is interpretted as a character string).</p> ]]></description>
<pubDate>Sat, 13 Oct 2012 00:28:05 GMT</pubDate>
<guid>http://snipplr.com/view/67710/default-macro-values/</guid>
</item>
<item>
<title>(Objective C) Macro to use HEX color - Gretzki</title>
<link>http://snipplr.com/view/64892/macro-to-use-hex-color/</link>
<description><![CDATA[ <p>OBJC macro to use HEX color values to init UIColor objects</p> ]]></description>
<pubDate>Wed, 16 May 2012 20:54:41 GMT</pubDate>
<guid>http://snipplr.com/view/64892/macro-to-use-hex-color/</guid>
</item>
<item>
<title>(VB.NET) Use OLEDB To Read An Excel File - brettville</title>
<link>http://snipplr.com/view/45957/use-oledb-to-read-an-excel-file/</link>
<description><![CDATA[ <p>Doesn't do any validation, you would want to check if a</p> ]]></description>
<pubDate>Mon, 20 Dec 2010 17:00:53 GMT</pubDate>
<guid>http://snipplr.com/view/45957/use-oledb-to-read-an-excel-file/</guid>
</item>
<item>
<title>(Lua) Quick Target - ad5qa</title>
<link>http://snipplr.com/view/45851/quick-target/</link>
<description><![CDATA[ <p>Thi sis a test of comments...</p> ]]></description>
<pubDate>Fri, 17 Dec 2010 02:25:29 GMT</pubDate>
<guid>http://snipplr.com/view/45851/quick-target/</guid>
</item>
<item>
<title>(SAS) Macro to create an ordering (for PROC REPORT) - sandman7OR</title>
<link>http://snipplr.com/view/43010/macro-to-create-an-ordering-for-proc-report/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Oct 2010 09:07:56 GMT</pubDate>
<guid>http://snipplr.com/view/43010/macro-to-create-an-ordering-for-proc-report/</guid>
</item>
<item>
<title>(VB.NET) PowerPoint Timer - wesalvaro</title>
<link>http://snipplr.com/view/38499/powerpoint-timer/</link>
<description><![CDATA[ <p>Select a shape with text of any kind inside. Run the macro.  A timer is generated.  Change the macro to switch counter resolution, length, up/down, etc.
Modified original to make it work in PPT 2007.</p> ]]></description>
<pubDate>Thu, 05 Aug 2010 06:39:16 GMT</pubDate>
<guid>http://snipplr.com/view/38499/powerpoint-timer/</guid>
</item>
<item>
<title>(Emacs Lisp) kmacro-call-macro without the message for the repeat key - bigfaceworm</title>
<link>http://snipplr.com/view/35297/kmacrocallmacro-without-the-message-for-the-repeat-key/</link>
<description><![CDATA[ <p>From Emacs 23.1, an edited version of kmacro-call-macro that removes the call to message reminding the user that they can repeat the macro with a single key.</p> ]]></description>
<pubDate>Fri, 28 May 2010 10:54:25 GMT</pubDate>
<guid>http://snipplr.com/view/35297/kmacrocallmacro-without-the-message-for-the-repeat-key/</guid>
</item>
<item>
<title>(SAS) How to create a macro variable containing a list of variables in a DATA set - sarathannapareddy</title>
<link>http://snipplr.com/view/33202/how-to-create-a-macro-variable-containing-a-list-of-variables-in-a-data-set/</link>
<description><![CDATA[ <p>Sometimes it is very handy to have a macro variable contanining the variables names of the dataset. Here are the 2 different ways you can create a macro variable with list of variables names ...</p> ]]></description>
<pubDate>Mon, 26 Apr 2010 19:49:45 GMT</pubDate>
<guid>http://snipplr.com/view/33202/how-to-create-a-macro-variable-containing-a-list-of-variables-in-a-data-set/</guid>
</item>
<item>
<title>(Lua) Blood spec rotation macro - tseven</title>
<link>http://snipplr.com/view/33077/blood-spec-rotation-macro/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 24 Apr 2010 15:24:57 GMT</pubDate>
<guid>http://snipplr.com/view/33077/blood-spec-rotation-macro/</guid>
</item>
<item>
<title>(Scheme) Change list in place : scheme/impromtu - magicrebirth</title>
<link>http://snipplr.com/view/27677/change-list-in-place--schemeimpromtu/</link>
<description><![CDATA[ <p>set-car! and set-cdr! change a list 'in-place'.

But, if you like the pointer metaphore... you could use macro's
instead of procedures...

stupidly simple example...</p> ]]></description>
<pubDate>Thu, 04 Feb 2010 06:27:51 GMT</pubDate>
<guid>http://snipplr.com/view/27677/change-list-in-place--schemeimpromtu/</guid>
</item>
<item>
<title>(SAS) SAS Macro to get the number of observations in a dataset... - sastechies</title>
<link>http://snipplr.com/view/27117/sas-macro-to-get-the-number-of-observations-in-a-dataset/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Jan 2010 14:31:32 GMT</pubDate>
<guid>http://snipplr.com/view/27117/sas-macro-to-get-the-number-of-observations-in-a-dataset/</guid>
</item>
<item>
<title>(SAS) SAS Macro to create a delimited text /csv file from a SAS data set.. - sastechies</title>
<link>http://snipplr.com/view/27114/sas-macro-to-create-a-delimited-text-csv-file-from-a-sas-data-set/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Jan 2010 14:27:27 GMT</pubDate>
<guid>http://snipplr.com/view/27114/sas-macro-to-create-a-delimited-text-csv-file-from-a-sas-data-set/</guid>
</item>
<item>
<title>(SAS) SAS Macro to Cleanup your WORK directory - sastechies</title>
<link>http://snipplr.com/view/27112/sas-macro-to-cleanup-your-work-directory/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Jan 2010 14:22:04 GMT</pubDate>
<guid>http://snipplr.com/view/27112/sas-macro-to-cleanup-your-work-directory/</guid>
</item>
<item>
<title>(Visual Basic) Remove Hyperlinks from Excel document - a1ias</title>
<link>http://snipplr.com/view/27072/remove-hyperlinks-from-excel-document/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 Jan 2010 02:12:52 GMT</pubDate>
<guid>http://snipplr.com/view/27072/remove-hyperlinks-from-excel-document/</guid>
</item>
<item>
<title>(SAS) SAS Macro to add a prefix to some or all variables in a data set... - sastechies</title>
<link>http://snipplr.com/view/24616/sas-macro-to-add-a-prefix-to-some-or-all-variables-in-a-data-set/</link>
<description><![CDATA[ <p>Often we need to add a prefix to some or all variables in a dataset before we might have to merge datasets that have similar column attributes...This macro would allow you to do that....

Try it for yourself....</p> ]]></description>
<pubDate>Fri, 11 Dec 2009 12:09:27 GMT</pubDate>
<guid>http://snipplr.com/view/24616/sas-macro-to-add-a-prefix-to-some-or-all-variables-in-a-data-set/</guid>
</item>
<item>
<title>(SAS) find the nth business day of a given month and year in SAS - sastechies</title>
<link>http://snipplr.com/view/24612/find-the-nth-business-day-of-a-given-month-and-year-in-sas/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 11 Dec 2009 11:54:12 GMT</pubDate>
<guid>http://snipplr.com/view/24612/find-the-nth-business-day-of-a-given-month-and-year-in-sas/</guid>
</item>
<item>
<title>(Visual Basic) Find duplicate cells in excel column - a1ias</title>
<link>http://snipplr.com/view/23667/find-duplicate-cells-in-excel-column/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 24 Nov 2009 09:46:27 GMT</pubDate>
<guid>http://snipplr.com/view/23667/find-duplicate-cells-in-excel-column/</guid>
</item>
<item>
<title>(Objective C) Detailed NSLog() via a Preprocessor Macro - zingo</title>
<link>http://snipplr.com/view/21528/detailed-nslog-via-a-preprocessor-macro/</link>
<description><![CDATA[ <p>Ever needed to see more context surrounding your NSLog statement to help you debug in the console?</p> ]]></description>
<pubDate>Tue, 20 Oct 2009 22:51:49 GMT</pubDate>
<guid>http://snipplr.com/view/21528/detailed-nslog-via-a-preprocessor-macro/</guid>
</item>
<item>
<title>(SAS) Macro IN Operator - sarathannapareddy</title>
<link>http://snipplr.com/view/18372/macro-in-operator/</link>
<description><![CDATA[ <p>Have you ever come across a situation where you have to write a macro program where a macro variable has more than one value? Writing a macro program in this case involves so many different conditions and to connect each condition you generally use OR operator as below… 

%macro test; 
%if &amp;dsn=ae or %if &amp;dsn=ds or %if &amp;dsn=co or %if &amp;dsn=cm %then %do; 
Some---SAS—Statements; 
%end; 
%test;</p> ]]></description>
<pubDate>Sun, 16 Aug 2009 14:52:53 GMT</pubDate>
<guid>http://snipplr.com/view/18372/macro-in-operator/</guid>
</item>
</channel>
</rss>