<?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; Kopfzeile</title>
	<atom:link href="http://vancra.com/archives/tag/kopfzeile/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>Kopfzeile mit Text aus Tabelle füllen</title>
		<link>http://vancra.com/archives/261</link>
		<comments>http://vancra.com/archives/261#comments</comments>
		<pubDate>Fri, 17 Jun 2011 19:32:34 +0000</pubDate>
		<dc:creator>Tamara</dc:creator>
				<category><![CDATA[VBA]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[Kopfzeile]]></category>

		<guid isPermaLink="false">http://vancra.com/?p=261</guid>
		<description><![CDATA[Problemstellung: Allgemein: In die Kopfzeile sind via VBA Texte oder Zahlen zu erfassen, die innerhalb der Tabelle in bestimmten Zellen erfasst werden. 1. Die Kopfzeile des aktuellen Tabellenblattes wird mit dem Wert aus der Zelle "A1" des aktuellen Tabellenblattes gefüllt Sub KopfzeilefuellenL() ActiveSheet.PageSetup.LeftHeader = Format(ActiveSheet.Range(&#34;A1&#34;).Value) End Sub 2. Der Zellinhalt der Tabelle "TestA", Zelle "A1" [...]]]></description>
			<content:encoded><![CDATA[<strong><span style="text-decoration: underline;">Problemstellung:</span></strong><br />
<em>Allgemein:</em> In die Kopfzeile sind via VBA Texte oder Zahlen zu erfassen, die innerhalb der Tabelle in bestimmten Zellen erfasst werden.<br />
<br />
1. Die Kopfzeile des aktuellen Tabellenblattes wird mit dem Wert aus der Zelle "A1" des aktuellen Tabellenblattes gefüllt<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> KopfzeilefuellenL()
ActiveSheet.PageSetup.LeftHeader = Format(ActiveSheet.Range(<span class="st0">&quot;A1&quot;</span>).Value)
<span class="kw3">End</span> <span class="kw2">Sub</span></pre></div></div></div></div></div></div></div>

<br />
<br />
2. Der Zellinhalt der Tabelle "TestA", Zelle "A1" ist in der rechten Kopfzeile der aktuellen Tabelle auszuweisen.<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> KopfzeilefuellenR()
ActiveSheet.PageSetup.RightHeader = Format(Sheets(<span class="st0">&quot;TestA&quot;</span>).Range(<span class="st0">&quot;A1&quot;</span>).Value)
<span class="kw3">End</span> <span class="kw2">Sub</span></pre></div></div></div></div></div></div></div>

<br />
<br />
Die einzelnen Bereiche der Seite können via VBA wie folgt angesprochen werden:<br />
<ul><br />
	<li>LeftHeader         = Kopfzeilenbereich links</li><br />
	<li>CenterHeader   = Kopfzeilenbereich mitte</li><br />
	<li>RightHeader      = Kopfzeilenbereich rechts</li><br />
	<li>LeftFooter          = Fußzeile links</li><br />
	<li>CenterFooter    = Fußzeile mitte</li><br />
	<li>RightFooter       = Fußzeile rechts</li><br />
</ul><div class='wpfblike' style='height: 40px;'><fb:like href='http://vancra.com/archives/261' layout='button_count' show_faces='true' width='400' action='like' colorscheme='evil' send='false' /></div>]]></content:encoded>
			<wfw:commentRss>http://vancra.com/archives/261/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
