<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Vancra &#187; Rahmen</title>
	<atom:link href="http://vancra.com/archives/tag/rahmen/feed" rel="self" type="application/rss+xml" />
	<link>http://vancra.com</link>
	<description>It&#039;s not the content building us - it&#039;s the implementation</description>
	<lastBuildDate>Sat, 03 Sep 2011 11:03:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
	<div id='fb-root'></div>
					<script type='text/javascript'>
						window.fbAsyncInit = function()
						{
							FB.init({appId: null, status: true, cookie: true, xfbml: true});
						};
						(function()
						{
							var e = document.createElement('script'); e.async = true;
							e.src = document.location.protocol + '//connect.facebook.net/de_DE/all.js';
							document.getElementById('fb-root').appendChild(e);
						}());
					</script>	
						<item>
		<title>Rahmen erstellen und formatieren</title>
		<link>http://vancra.com/archives/288</link>
		<comments>http://vancra.com/archives/288#comments</comments>
		<pubDate>Fri, 17 Jun 2011 21:47:08 +0000</pubDate>
		<dc:creator>Tamara</dc:creator>
				<category><![CDATA[VBA]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Formatieren]]></category>
		<category><![CDATA[Rahmen]]></category>

		<guid isPermaLink="false">http://vancra.com/?p=288</guid>
		<description><![CDATA[Um einen Rahmen zu Formatieren, ist zunächst der Bereich als Objekt zu definieren. Dies erfolgt wie üblich: Sheets(&#34;Tabelle1&#34;).Range(&#34;A1:D10&#34;) Nach dem das Objekt definiert ist, wird nun noch festgelegt, dass sich die folgenden definierten Eigenschaften auf einen Rahmen beziehen. Dazu wird ".Borders" ergänzt. Die Codezeile sieht dann wie folgt aus: Sheets(&#34;Tabelle1&#34;).Range(&#34;A1:D10&#34;).Borders Mit dem "With"-Befehl können dem [...]]]></description>
			<content:encoded><![CDATA[Um einen Rahmen zu Formatieren, ist zunächst der Bereich als Objekt zu definieren.<br />
<br />
Dies erfolgt wie üblich:<br />


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="vb"><pre class="de1">Sheets(<span class="st0">&quot;Tabelle1&quot;</span>).Range(<span class="st0">&quot;A1:D10&quot;</span>)</pre></div></div></div></div></div></div></div>

<br />
<br />
<br />
Nach dem das Objekt definiert ist, wird nun noch festgelegt, dass sich die folgenden definierten Eigenschaften auf einen Rahmen beziehen. Dazu wird ".Borders" ergänzt. Die Codezeile sieht dann wie folgt aus:<br />


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="vb"><pre class="de1">Sheets(<span class="st0">&quot;Tabelle1&quot;</span>).Range(<span class="st0">&quot;A1:D10&quot;</span>).Borders</pre></div></div></div></div></div></div></div>

<br />
<br />
<br />
Mit dem "With"-Befehl können dem Rahmen verschiedene Eigenschaften mitgegeben werden.<br />
<br />
So kann die Rahmenfarbe und die Art der Rahmenlinie festgelegt werden.<br />
<br />
Beispielcode mit doppelter Linie und dunkelroter Linienfarbe:<br />


<div class="wp-geshi-highlight-wrap5"><div class="wp-geshi-highlight-wrap4"><div class="wp-geshi-highlight-wrap3"><div class="wp-geshi-highlight-wrap2"><div class="wp-geshi-highlight-wrap"><div class="wp-geshi-highlight"><div class="vb"><pre class="de1"><span class="kw2">Sub</span> Rahmen1()
<span class="kw3">With</span> Sheets(<span class="st0">&quot;Tabelle3&quot;</span>).Range(<span class="st0">&quot;A3:C5&quot;</span>).Borders
.ColorIndex = 30
.LineStyle = xlDouble
<span class="kw3">End</span> <span class="kw3">With</span>
<span class="kw3">End</span> <span class="kw2">Sub</span></pre></div></div></div></div></div></div></div>

<br />
<br />
<br />
<div id="attachment_308" class="wp-caption alignleft" style="width: 260px"><a href="http://vancra.com/wp-content/uploads/2011/06/Rahmenarten.jpg"><img src="http://vancra.com/wp-content/uploads/2011/06/Rahmenarten-250x300.jpg" alt="Unterschiedliche Linienarten für die Verwendung in Excel" title="Rahmenarten" width="250" height="300" class="size-medium wp-image-308" /></a><p class="wp-caption-text">(c) Tamara Buchwald</p></div><div class='wpfblike' style='height: 40px;'><fb:like href='http://vancra.com/archives/288' layout='button_count' show_faces='true' width='400' action='like' colorscheme='evil' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://vancra.com/archives/288/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
