<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: License Acceptance Form</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Thu, 09 Feb 2012 23:42:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Todd Hogarth</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/#comment-24939</link>
		<dc:creator>Todd Hogarth</dc:creator>
		<pubDate>Thu, 21 Jun 2007 21:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1676#comment-24939</guid>
		<description>&lt;p&gt;Since OpenOffice is open source, you might try looking at the source code.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Since OpenOffice is open source, you might try looking at the source code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivan F Moala</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/#comment-24685</link>
		<dc:creator>Ivan F Moala</dc:creator>
		<pubDate>Sat, 09 Jun 2007 15:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1676#comment-24685</guid>
		<description>&lt;p&gt;Doug&lt;/p&gt;
&lt;p&gt;Using a Frame would work&lt;br&gt;
Assumes Frame1, commandbutton Named cmdAccept&lt;/p&gt;
&lt;p&gt;Frame settings;&lt;br&gt;
ScrollBars = 2 - frmScrollBarsVertical&lt;br&gt;
ScrollHeight = set to show scroll eg larger then Height of Frame (mine @ 500)&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Option&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Explicit&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; m_Vertical &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Single&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; Frame1_Scroll(&lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; ActionX &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; MSForms.fmScrollAction, &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; ActionY &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; MSForms.fmScrollAction, _&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; RequestDx &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Single&lt;/span&gt;, &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; RequestDy &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Single&lt;/span&gt;, &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; ActualDx &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; MSForms.ReturnSingle, _&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; ActualDy &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; MSForms.ReturnSingle)&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; ActualDy + Frame1.ScrollTop = m_Vertical &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; cmdAccept.Enabled = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; UserForm_Initialize()&lt;br&gt;
&lt;br&gt;
m_Vertical = 0&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Do&lt;/span&gt;&lt;br&gt;
&#160; &#160; Frame1.ScrollTop = m_Vertical&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Frame1.ScrollTop &lt;&gt; m_Vertical &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Exit&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Do&lt;/span&gt;&lt;br&gt;
&#160; &#160; m_Vertical = m_Vertical + 1&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Loop&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&#160; &#160; m_Vertical = m_Vertical - 1&lt;br&gt;
&#160; &#160; Frame1.ScrollTop = 0&lt;br&gt;
&#160; &#160; cmdAccept.Enabled = &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Doug</p>
<p>Using a Frame would work<br />
Assumes Frame1, commandbutton Named cmdAccept</p>
<p>Frame settings;<br />
ScrollBars = 2 &#8211; frmScrollBarsVertical<br />
ScrollHeight = set to show scroll eg larger then Height of Frame (mine @ 500)</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Option</span> <span class="kw1">Explicit</span></p>
<p><span class="kw1">Dim</span> m_Vertical <span class="kw1">As</span> <span class="kw1">Single</span></p>
<p><span class="kw1">Private</span> <span class="kw1">Sub</span> Frame1_Scroll(<span class="kw1">ByVal</span> ActionX <span class="kw1">As</span> MSForms.fmScrollAction, <span class="kw1">ByVal</span> ActionY <span class="kw1">As</span> MSForms.fmScrollAction, _<br />
&nbsp; &nbsp; <span class="kw1">ByVal</span> RequestDx <span class="kw1">As</span> <span class="kw1">Single</span>, <span class="kw1">ByVal</span> RequestDy <span class="kw1">As</span> <span class="kw1">Single</span>, <span class="kw1">ByVal</span> ActualDx <span class="kw1">As</span> MSForms.ReturnSingle, _<br />
&nbsp; &nbsp; <span class="kw1">ByVal</span> ActualDy <span class="kw1">As</span> MSForms.ReturnSingle)</p>
<p><span class="kw1">If</span> ActualDy + Frame1.ScrollTop = m_Vertical <span class="kw1">Then</span> cmdAccept.Enabled = <span class="kw1">True</span></p>
<p><span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Private</span> <span class="kw1">Sub</span> UserForm_Initialize()</p>
<p>m_Vertical = 0</p>
<p><span class="kw1">Do</span><br />
&nbsp; &nbsp; Frame1.ScrollTop = m_Vertical<br />
&nbsp; &nbsp; <span class="kw1">If</span> Frame1.ScrollTop &lt;&gt; m_Vertical <span class="kw1">Then</span> <span class="kw1">Exit</span> <span class="kw1">Do</span><br />
&nbsp; &nbsp; m_Vertical = m_Vertical + 1<br />
<span class="kw1">Loop</span></p>
<p>&nbsp; &nbsp; m_Vertical = m_Vertical &#8211; 1<br />
&nbsp; &nbsp; Frame1.ScrollTop = 0<br />
&nbsp; &nbsp; cmdAccept.Enabled = <span class="kw1">False</span><br />
&nbsp; &nbsp; <br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/#comment-24369</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Sat, 26 May 2007 20:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1676#comment-24369</guid>
		<description>&lt;p&gt;Andy -&lt;/p&gt;
&lt;p&gt;Clever. That&#039;s conceptually related to your textbox to measure the height of a chart&#039;s text element by moving it down to the bottom of the chart, then subtracting its .Top property from the chart area&#039;s .Height property.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Andy -</p>
<p>Clever. That&#8217;s conceptually related to your textbox to measure the height of a chart&#8217;s text element by moving it down to the bottom of the chart, then subtracting its .Top property from the chart area&#8217;s .Height property.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Pope</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/#comment-24365</link>
		<dc:creator>Andy Pope</dc:creator>
		<pubDate>Sat, 26 May 2007 17:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1676#comment-24365</guid>
		<description>&lt;p&gt;Get the listbox to tell you the information you need.&lt;/p&gt;
&lt;p&gt;Force the last item in the listbox to be the topindex. Then when you check the property it will return the actual topindex needed for the test.&lt;/p&gt;
&lt;div style=&quot;overflow: auto; white-space: nowrap;&quot; class=&quot;codecolorer-container vb default&quot;&gt;&lt;div style=&quot;white-space: nowrap;&quot; class=&quot;vb codecolorer&quot;&gt;&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; m_lngTopIndex &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; UserForm_Initialize()&lt;br&gt;
&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; lngIndex &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Long&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; ListBox1&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;For&lt;/span&gt; lngIndex = 1 &lt;span class=&quot;kw1&quot;&gt;To&lt;/span&gt; 50&lt;br&gt;
&#160; &#160; &#160; &#160; &#160; &#160; .AddItem lngIndex&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;kw1&quot;&gt;Next&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;br&gt;
&#160; &#160; &#160; &#160; .TopIndex = .ListCount - 1&lt;br&gt;
&#160; &#160; &#160; &#160; m_lngTopIndex = .TopIndex&lt;br&gt;
&#160; &#160; &#160; &#160; .TopIndex = 0&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt;&lt;br&gt;
&#160; &#160; CommandButton1.Enabled = &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;br&gt;
&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Private&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; UserForm_MouseMove(&lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; Button &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Integer&lt;/span&gt;, _&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; Shift &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Integer&lt;/span&gt;, &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; X &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Single&lt;/span&gt;, &lt;span class=&quot;kw1&quot;&gt;ByVal&lt;/span&gt; Y &lt;span class=&quot;kw1&quot;&gt;As&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Single&lt;/span&gt;)&lt;br&gt;
&#160; &#160;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt; Me.ListBox1.TopIndex = m_lngTopIndex &lt;span class=&quot;kw1&quot;&gt;Then&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; Me.CommandButton1.Enabled = &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;If&lt;/span&gt;&lt;br&gt;
&#160; &#160;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;End&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Get the listbox to tell you the information you need.</p>
<p>Force the last item in the listbox to be the topindex. Then when you check the property it will return the actual topindex needed for the test.</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Private</span> m_lngTopIndex <span class="kw1">As</span> <span class="kw1">Long</span><br />
<span class="kw1">Private</span> <span class="kw1">Sub</span> UserForm_Initialize()</p>
<p>&nbsp; &nbsp; <span class="kw1">Dim</span> lngIndex <span class="kw1">As</span> <span class="kw1">Long</span><br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">With</span> ListBox1<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">For</span> lngIndex = 1 <span class="kw1">To</span> 50<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; .AddItem lngIndex<br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="kw1">Next</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp; &nbsp; &nbsp; .TopIndex = .ListCount &#8211; 1<br />
&nbsp; &nbsp; &nbsp; &nbsp; m_lngTopIndex = .TopIndex<br />
&nbsp; &nbsp; &nbsp; &nbsp; .TopIndex = 0<br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
&nbsp; &nbsp; CommandButton1.Enabled = <span class="kw1">False</span><br />
&nbsp; &nbsp; <br />
<span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Private</span> <span class="kw1">Sub</span> UserForm_MouseMove(<span class="kw1">ByVal</span> Button <span class="kw1">As</span> <span class="kw1">Integer</span>, _<br />
&nbsp; &nbsp; <span class="kw1">ByVal</span> Shift <span class="kw1">As</span> <span class="kw1">Integer</span>, <span class="kw1">ByVal</span> X <span class="kw1">As</span> <span class="kw1">Single</span>, <span class="kw1">ByVal</span> Y <span class="kw1">As</span> <span class="kw1">Single</span>)<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp; <span class="kw1">If</span> Me.ListBox1.TopIndex = m_lngTopIndex <span class="kw1">Then</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; Me.CommandButton1.Enabled = <span class="kw1">True</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">If</span><br />
&nbsp; &nbsp;<br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Doug Glancy</title>
		<link>http://www.dailydoseofexcel.com/archives/2007/05/25/license-acceptance-form/#comment-24364</link>
		<dc:creator>Doug Glancy</dc:creator>
		<pubDate>Sat, 26 May 2007 16:36:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=1676#comment-24364</guid>
		<description>&lt;p&gt;Dick, I spent way too much time trying to do this last night with a frame and its scroll event.  It really seemed like it should work, there&#039;s quite a bit of info with that event, but none that I could figure that would let me know when I&#039;d hit bottom.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Dick, I spent way too much time trying to do this last night with a frame and its scroll event.  It really seemed like it should work, there&#8217;s quite a bit of info with that event, but none that I could figure that would let me know when I&#8217;d hit bottom.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

