<?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: Compiling Excel VBA</title>
	<atom:link href="http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/</link>
	<description>Daily posts of Excel tips…and other stuff</description>
	<lastBuildDate>Wed, 08 Feb 2012 23:58:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: sZx</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-55638</link>
		<dc:creator>sZx</dc:creator>
		<pubDate>Thu, 09 Dec 2010 13:55:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-55638</guid>
		<description>&lt;p&gt;Ok. Small example:&lt;br&gt;
- in thw folder C:Test you have Excel file with the macros, named macros &quot;UF&quot; and let he call userform.&lt;br&gt;
- now, create text file on the desktop, name it &quot;run.vbs&quot;. Click right mouse button and select &quot;Edit&quot;, you will see notepad. Copy and Paste that code:&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;Dim&lt;/span&gt; objExcel&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Dim&lt;/span&gt; objWorkbook&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; objExcel = CreateObject(&lt;span class=&quot;st0&quot;&gt;&quot;Excel.Application&quot;&lt;/span&gt;)&lt;br&gt;
objExcel.Visible = &lt;span class=&quot;kw1&quot;&gt;False&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;set&lt;/span&gt; objWorkbook = objExcel.Workbooks.&lt;span class=&quot;kw1&quot;&gt;Open&lt;/span&gt;(&lt;span class=&quot;st0&quot;&gt;&quot;C:Test1.xlsm&quot;&lt;/span&gt;)&lt;br&gt;
objExcel.Run &lt;span class=&quot;st0&quot;&gt;&quot;&#039;1.xlsm&#039;!UF&quot;&lt;/span&gt;&lt;br&gt;
objWorkbook.&lt;span class=&quot;kw1&quot;&gt;Close&lt;/span&gt; &lt;span class=&quot;kw1&quot;&gt;True&lt;/span&gt;&lt;br&gt;
objExcel.Quit&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; objWorkbook = &lt;span class=&quot;kw1&quot;&gt;Nothing&lt;/span&gt;&lt;br&gt;
&lt;span class=&quot;kw1&quot;&gt;Set&lt;/span&gt; objExcel = &lt;span class=&quot;kw1&quot;&gt;Nothing&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;- Save and Run&lt;/p&gt;
&lt;p&gt;objExcel.Visible = False &#039;Hide Excel, change it to see Excel.&lt;/p&gt;
&lt;p&gt;That was a simple exsample how to use VBS. I show you how to combine VBS and VBA.&lt;br&gt;
Sorry for my english, i&#039;m russian.&lt;br&gt;
Have a good days, guys.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Ok. Small example:<br />
- in thw folder C:Test you have Excel file with the macros, named macros &#8220;UF&#8221; and let he call userform.<br />
- now, create text file on the desktop, name it &#8220;run.vbs&#8221;. Click right mouse button and select &#8220;Edit&#8221;, you will see notepad. Copy and Paste that code:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Dim</span> objExcel<br />
<span class="kw1">Dim</span> objWorkbook<br />
<span class="kw1">Set</span> objExcel = CreateObject(<span class="st0">&#8220;Excel.Application&#8221;</span>)<br />
objExcel.Visible = <span class="kw1">False</span><br />
<span class="kw1">set</span> objWorkbook = objExcel.Workbooks.<span class="kw1">Open</span>(<span class="st0">&#8220;C:Test1.xlsm&#8221;</span>)<br />
objExcel.Run <span class="st0">&#8220;&#8217;1.xlsm&#8217;!UF&#8221;</span><br />
objWorkbook.<span class="kw1">Close</span> <span class="kw1">True</span><br />
objExcel.Quit<br />
<span class="kw1">Set</span> objWorkbook = <span class="kw1">Nothing</span><br />
<span class="kw1">Set</span> objExcel = <span class="kw1">Nothing</span></div>
</div>
<p>- Save and Run</p>
<p>objExcel.Visible = False &#8216;Hide Excel, change it to see Excel.</p>
<p>That was a simple exsample how to use VBS. I show you how to combine VBS and VBA.<br />
Sorry for my english, i&#8217;m russian.<br />
Have a good days, guys.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sZx</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-55590</link>
		<dc:creator>sZx</dc:creator>
		<pubDate>Wed, 08 Dec 2010 13:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-55590</guid>
		<description>&lt;p&gt;Thanks, Colo. I think VBS will be a best i this case.&lt;br&gt;
To make a VBS file: create blank txt file - put your code in it - save it as a .vbs file - run (or execute using cscript.exe or wscript.exe).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Thanks, Colo. I think VBS will be a best i this case.<br />
To make a VBS file: create blank txt file &#8211; put your code in it &#8211; save it as a .vbs file &#8211; run (or execute using cscript.exe or wscript.exe).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: milka</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-54941</link>
		<dc:creator>milka</dc:creator>
		<pubDate>Sun, 28 Nov 2010 23:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-54941</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am importing a new encrypted module from a file as a new component and deleting the old one to update my excel to a new version.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I am importing a new encrypted module from a file as a new component and deleting the old one to update my excel to a new version.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leigh Yaxley</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-52114</link>
		<dc:creator>Leigh Yaxley</dc:creator>
		<pubDate>Sat, 09 Oct 2010 06:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-52114</guid>
		<description>&lt;p&gt;I have recently tried out the trial version of Calc4Web from SavvySoft.&lt;br&gt;
The VBA compilation would not work for anything other than simple arithmetic.&lt;br&gt;
So despite what the manual and the above list from sZx on 31 August claim my experience with the trial version is that most useful features do not compile.&lt;br&gt;
Perhaps this is just a limitation of the trial version but as SavvySoft will not answer my questions about this I do not know.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I have recently tried out the trial version of Calc4Web from SavvySoft.<br />
The VBA compilation would not work for anything other than simple arithmetic.<br />
So despite what the manual and the above list from sZx on 31 August claim my experience with the trial version is that most useful features do not compile.<br />
Perhaps this is just a limitation of the trial version but as SavvySoft will not answer my questions about this I do not know.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sZx</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-49617</link>
		<dc:creator>sZx</dc:creator>
		<pubDate>Tue, 31 Aug 2010 14:19:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-49617</guid>
		<description>&lt;p&gt;What can and cannot be converted in Calc4Web&lt;/p&gt;
&lt;p&gt;The types of VBA code that can be converted are limited. Please see the limitations&lt;br&gt;
chapter.&lt;br&gt;
What can be converted are:&lt;br&gt;
 Mathematical operations&lt;br&gt;
 Calls into built-in VBA functions (as opposed to methods of built-in objects)&lt;br&gt;
 Calls into user-defined VBA subs and functions (provided the caller and callee are&lt;br&gt;
converted together)&lt;br&gt;
 Calls into user-defined methods of class modules&lt;br&gt;
 Declare statements to allow calling into functions inside DLLs&lt;br&gt;
 If/Then/Else&lt;br&gt;
 Goto&lt;br&gt;
 Iterative constructs such as for-next and while-wend, but not Do While-Loop&lt;br&gt;
 With blocks&lt;br&gt;
 Text file I/O&lt;br&gt;
 Collections&lt;br&gt;
 Select/Case (not for user-defined data types)&lt;br&gt;
 Comments&lt;br&gt;
 Calling into functions via Tools References&lt;br&gt;
 Data types: integer, long, double, string, array and variant, but not Date.&lt;br&gt;
Some but not all built-in VBA objects and methods are supported. These include Range&lt;br&gt;
object methods:&lt;br&gt;
 Value&lt;br&gt;
 Formula&lt;br&gt;
 Select&lt;br&gt;
 Calculate&lt;br&gt;
 Cells&lt;br&gt;
 Offset&lt;br&gt;
 End&lt;br&gt;
 Address&lt;br&gt;
 EntireColumn&lt;br&gt;
 EntireRow&lt;br&gt;
 FormulaArray&lt;br&gt;
 Hidden&lt;br&gt;
This allows you to get values out of the spreadsheet, and, in subs, put values into the&lt;br&gt;
spreadsheet.&lt;br&gt;
Also, the following are defined for the Application class:&lt;br&gt;
 Excel worksheet functions&lt;br&gt;
 Calculate&lt;br&gt;
 Goto&lt;br&gt;
 ActiveCell&lt;br&gt;
 ActiveSheet&lt;br&gt;
 Cells&lt;br&gt;
 Selection&lt;br&gt;
 Wait&lt;br&gt;
 StatusBar&lt;br&gt;
 ScreenUpdating&lt;br&gt;
 Worksheets&lt;br&gt;
One great benefit of VBA conversion is to complement Calc4Web&#039;s spreadsheet&lt;br&gt;
programming capabilities. The product allows you to use Excel as a programming&lt;br&gt;
environment, and the spreadsheet is a very simple paradigm for entering complex&lt;br&gt;
algorithms. It&#039;s very much of a visual programming environment, where the user doesn&#039;t&lt;br&gt;
need to be concerned about what order to write the code in, and formulas can be created&lt;br&gt;
by pointing and clicking.&lt;br&gt;
But as nice as spreadsheets are for programming, they lack two basic features found in&lt;br&gt;
&quot;real&quot; programming languages: looping, and conditional branching (if then else). But&lt;br&gt;
these vital programming tools are available in Visual Basic. And, since Visual Basic&lt;br&gt;
allows users to call into DLL functions via the Declare statement, it&#039;s possible to use a&lt;br&gt;
spreadsheet, and Calc4Web, to write a complex function that does not require looping or&lt;br&gt;
if then else, and then call into that function in a loop in VBA. And then, use Calc4Web to&lt;br&gt;
convert the VBA function to C++.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>What can and cannot be converted in Calc4Web</p>
<p>The types of VBA code that can be converted are limited. Please see the limitations<br />
chapter.<br />
What can be converted are:<br />
 Mathematical operations<br />
 Calls into built-in VBA functions (as opposed to methods of built-in objects)<br />
 Calls into user-defined VBA subs and functions (provided the caller and callee are<br />
converted together)<br />
 Calls into user-defined methods of class modules<br />
 Declare statements to allow calling into functions inside DLLs<br />
 If/Then/Else<br />
 Goto<br />
 Iterative constructs such as for-next and while-wend, but not Do While-Loop<br />
 With blocks<br />
 Text file I/O<br />
 Collections<br />
 Select/Case (not for user-defined data types)<br />
 Comments<br />
 Calling into functions via Tools References<br />
 Data types: integer, long, double, string, array and variant, but not Date.<br />
Some but not all built-in VBA objects and methods are supported. These include Range<br />
object methods:<br />
 Value<br />
 Formula<br />
 Select<br />
 Calculate<br />
 Cells<br />
 Offset<br />
 End<br />
 Address<br />
 EntireColumn<br />
 EntireRow<br />
 FormulaArray<br />
 Hidden<br />
This allows you to get values out of the spreadsheet, and, in subs, put values into the<br />
spreadsheet.<br />
Also, the following are defined for the Application class:<br />
 Excel worksheet functions<br />
 Calculate<br />
 Goto<br />
 ActiveCell<br />
 ActiveSheet<br />
 Cells<br />
 Selection<br />
 Wait<br />
 StatusBar<br />
 ScreenUpdating<br />
 Worksheets<br />
One great benefit of VBA conversion is to complement Calc4Web&#8217;s spreadsheet<br />
programming capabilities. The product allows you to use Excel as a programming<br />
environment, and the spreadsheet is a very simple paradigm for entering complex<br />
algorithms. It&#8217;s very much of a visual programming environment, where the user doesn&#8217;t<br />
need to be concerned about what order to write the code in, and formulas can be created<br />
by pointing and clicking.<br />
But as nice as spreadsheets are for programming, they lack two basic features found in<br />
&#8220;real&#8221; programming languages: looping, and conditional branching (if then else). But<br />
these vital programming tools are available in Visual Basic. And, since Visual Basic<br />
allows users to call into DLL functions via the Declare statement, it&#8217;s possible to use a<br />
spreadsheet, and Calc4Web, to write a complex function that does not require looping or<br />
if then else, and then call into that function in a loop in VBA. And then, use Calc4Web to<br />
convert the VBA function to C++.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oladapo wale</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-38364</link>
		<dc:creator>oladapo wale</dc:creator>
		<pubDate>Sat, 07 Mar 2009 19:45:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-38364</guid>
		<description>&lt;p&gt;please tell me how to compile my excel-vba project. Thanks&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>please tell me how to compile my excel-vba project. Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lee</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-31504</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Thu, 27 Mar 2008 05:07:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-31504</guid>
		<description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I love the idea of compiling VB!  Question, can I use Web4calc and put  the complied code back into the spreadsheet?  I only want to protect and speed up the code, not require a link to a DLL.  I.e. I want to be able to email the spread sheet across the world and not figure out how to get it to reference back to the DLL on a different server.  Is this possible?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Lee&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>I love the idea of compiling VB!  Question, can I use Web4calc and put  the complied code back into the spreadsheet?  I only want to protect and speed up the code, not require a link to a DLL.  I.e. I want to be able to email the spread sheet across the world and not figure out how to get it to reference back to the DLL on a different server.  Is this possible?</p>
<p>Thanks!</p>
<p>Lee</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jon Peltier</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-29049</link>
		<dc:creator>Jon Peltier</dc:creator>
		<pubDate>Thu, 29 Nov 2007 21:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-29049</guid>
		<description>&lt;p&gt;Brett -&lt;/p&gt;
&lt;p&gt;Use the &quot;deprecated&quot; checkbox object:&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;Sub&lt;/span&gt; WillSoRun()&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; ActiveSheet.CheckBoxes(&lt;span class=&quot;st0&quot;&gt;&quot;Check Box 1&quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &#160; &#160; .Value = xlOn&lt;br&gt;
&#160; &#160; &#160; &#160; .LinkedCell = &lt;span class=&quot;st0&quot;&gt;&quot;$F$11&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; .Display3DShading = &lt;span class=&quot;kw1&quot;&gt;False&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;With&lt;/span&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;/div&gt;&lt;/div&gt;
&lt;p&gt;This worked for the first two properties:&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;Sub&lt;/span&gt; WillPartlyRun()&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; ActiveSheet.Shapes(&lt;span class=&quot;st0&quot;&gt;&quot;Check Box 1&quot;&lt;/span&gt;).ControlFormat&lt;br&gt;
&#160; &#160; &#160; &#160; .Value = xlOn&lt;br&gt;
&#160; &#160; &#160; &#160; .LinkedCell = &lt;span class=&quot;st0&quot;&gt;&quot;$g$11&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; &lt;span class=&quot;co1&quot;&gt;&#039; error next line&lt;br&gt;
&lt;/span&gt; &#160; &#160; &#160; &#160;.Display3DShading = &lt;span class=&quot;kw1&quot;&gt;False&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;With&lt;/span&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;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Brett -</p>
<p>Use the &#8220;deprecated&#8221; checkbox object:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> WillSoRun()<br />
&nbsp; &nbsp; <span class="kw1">With</span> ActiveSheet.CheckBoxes(<span class="st0">&#8220;Check Box 1&#8243;</span>)<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Value = xlOn<br />
&nbsp; &nbsp; &nbsp; &nbsp; .LinkedCell = <span class="st0">&#8220;$F$11&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; .Display3DShading = <span class="kw1">False</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
<p>This worked for the first two properties:</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> WillPartlyRun()<br />
&nbsp; &nbsp; <span class="kw1">With</span> ActiveSheet.Shapes(<span class="st0">&#8220;Check Box 1&#8243;</span>).ControlFormat<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Value = xlOn<br />
&nbsp; &nbsp; &nbsp; &nbsp; .LinkedCell = <span class="st0">&#8220;$g$11&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="co1">&#8216; error next line<br />
</span> &nbsp; &nbsp; &nbsp; &nbsp;.Display3DShading = <span class="kw1">False</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-29047</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 29 Nov 2007 19:33:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-29047</guid>
		<description>&lt;p&gt;Brad,&lt;/p&gt;
&lt;p&gt;     I see your comment about not selecting anything. What&#039;s up with the following?&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;Sub&lt;/span&gt; WillRun()&lt;br&gt;
&lt;br&gt;
&#160; &#160; ActiveSheet.Shapes(&lt;span class=&quot;st0&quot;&gt;&quot;Check Box 1&quot;&lt;/span&gt;).&lt;span class=&quot;kw1&quot;&gt;Select&lt;/span&gt;&lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; Selection&lt;br&gt;
&#160; &#160; &#160; &#160; .Value = xlOn&lt;br&gt;
&#160; &#160; &#160; &#160; .LinkedCell = &lt;span class=&quot;st0&quot;&gt;&quot;$F$11&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; .Display3DShading = &lt;span class=&quot;kw1&quot;&gt;False&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;With&lt;/span&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;span class=&quot;kw1&quot;&gt;Sub&lt;/span&gt; WillNotRun()&lt;br&gt;
&#160; &#160; &lt;br&gt;
&#160; &#160; &lt;span class=&quot;kw1&quot;&gt;With&lt;/span&gt; ActiveSheet.Shapes(&lt;span class=&quot;st0&quot;&gt;&quot;Check Box 1&quot;&lt;/span&gt;)&lt;br&gt;
&#160; &#160; &#160; &#160; .Value = xlOn&lt;br&gt;
&#160; &#160; &#160; &#160; .LinkedCell = &lt;span class=&quot;st0&quot;&gt;&quot;$F$11&quot;&lt;/span&gt;&lt;br&gt;
&#160; &#160; &#160; &#160; .Display3DShading = &lt;span class=&quot;kw1&quot;&gt;False&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;With&lt;/span&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;/div&gt;&lt;/div&gt;
</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>     I see your comment about not selecting anything. What&#8217;s up with the following?</p>
<div style="overflow: auto; white-space: nowrap;" class="codecolorer-container vb default">
<div style="white-space: nowrap;" class="vb codecolorer"><span class="kw1">Sub</span> WillRun()</p>
<p>&nbsp; &nbsp; ActiveSheet.Shapes(<span class="st0">&#8220;Check Box 1&#8243;</span>).<span class="kw1">Select</span><br />
&nbsp; &nbsp; <span class="kw1">With</span> Selection<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Value = xlOn<br />
&nbsp; &nbsp; &nbsp; &nbsp; .LinkedCell = <span class="st0">&#8220;$F$11&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; .Display3DShading = <span class="kw1">False</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></p>
<p><span class="kw1">Sub</span> WillNotRun()<br />
&nbsp; &nbsp; <br />
&nbsp; &nbsp; <span class="kw1">With</span> ActiveSheet.Shapes(<span class="st0">&#8220;Check Box 1&#8243;</span>)<br />
&nbsp; &nbsp; &nbsp; &nbsp; .Value = xlOn<br />
&nbsp; &nbsp; &nbsp; &nbsp; .LinkedCell = <span class="st0">&#8220;$F$11&#8243;</span><br />
&nbsp; &nbsp; &nbsp; &nbsp; .Display3DShading = <span class="kw1">False</span><br />
&nbsp; &nbsp; <span class="kw1">End</span> <span class="kw1">With</span><br />
<span class="kw1">End</span> <span class="kw1">Sub</span></div>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Yundt</title>
		<link>http://www.dailydoseofexcel.com/archives/2004/04/13/compiling-excel-vba/#comment-29039</link>
		<dc:creator>Brad Yundt</dc:creator>
		<pubDate>Thu, 29 Nov 2007 14:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.dailydoseofexcel.com/?p=464#comment-29039</guid>
		<description>&lt;p&gt;Zach,&lt;br&gt;
Calc4Web is one of those products I am aware of, but have never actually used. To get full VBA functionality is fairly expensive.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Zach,<br />
Calc4Web is one of those products I am aware of, but have never actually used. To get full VBA functionality is fairly expensive.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

