<?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/"
		xmlns:xhtml="http://www.w3.org/1999/xhtml"
>

<channel>
	<title>tech-memo &#187; vba</title>
	<atom:link href="http://tech.hapicky.com/archives/tag/vba/feed" rel="self" type="application/rss+xml" />
	<link>http://tech.hapicky.com</link>
	<description>ソフトウェアエンジニアリングに関するメモ書き</description>
	<lastBuildDate>Tue, 02 Feb 2010 05:42:30 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hapicky.com/archives/tag/vba/feed" />
		<item>
		<title>[小技]ExcelVBAのパフォーマンス改善</title>
		<link>http://tech.hapicky.com/archives/26</link>
		<comments>http://tech.hapicky.com/archives/26#comments</comments>
		<pubDate>Tue, 01 Jul 2008 07:19:27 +0000</pubDate>
		<dc:creator>hapicky</dc:creator>
				<category><![CDATA[未分類]]></category>
		<category><![CDATA[Excel]]></category>
		<category><![CDATA[vba]]></category>

		<guid isPermaLink="false">http://tech.hapicky.com/archives/26</guid>
		<description><![CDATA[セルの値設定処理が大量にあってパフォーマンスが出ない場合は、 Cells(1, 1).Value = "foo" Cells(1, 2).Value = "bar" 'まだまだ続く... Cells(100, 26).Value = "zzz" 　 いったん2次元配列にしてRange.Value2に代入すると速い。 Dim values(99, 25) As Variant values(0, 0) = "foo" values(0, 1) = "bar" 'まだまだ続く... values(99, 25) = "zzz" Range("A1:Z100").Value2 = values 以上小技でした。]]></description>
			<content:encoded><![CDATA[<p>セルの値設定処理が大量にあってパフォーマンスが出ない場合は、</p>
<pre class="brush: vb">
Cells(1, 1).Value = "foo"
Cells(1, 2).Value = "bar"
'まだまだ続く...
Cells(100, 26).Value = "zzz"
</pre>
<p>　<br />
いったん2次元配列にしてRange.Value2に代入すると速い。</p>
<pre class="brush: vb">
Dim values(99, 25) As Variant
values(0, 0) = "foo"
values(0, 1) = "bar"
'まだまだ続く...
values(99, 25) = "zzz"
Range("A1:Z100").Value2 = values
</pre>
<p>以上小技でした。</p>
]]></content:encoded>
			<wfw:commentRss>http://tech.hapicky.com/archives/26/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
	<xhtml:link rel="alternate" media="handheld" type="text/html" href="http://tech.hapicky.com/archives/26" />
	</item>
	</channel>
</rss>

