<link rel="stylesheet" type="text/css" href="http://excelvbamacro.com/wp-content/plugins/wp-secure-by-sitesecuritymonitorcom/css/hiddenloginerror.css" /> <script type="text/javascript">document.getElementById('wp-version-message').innerHTML = '';</script> <?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: Automatically Run an Excel Macro</title> <atom:link href="http://excelvbamacro.com/auto-run-macro-excel/feed/" rel="self" type="application/rss+xml" /><link>http://excelvbamacro.com/auto-run-macro-excel/</link> <description>Excel VBA Macro Tutorial and Examples</description> <lastBuildDate>Tue, 25 May 2010 20:23:08 +0800</lastBuildDate> <generator>http://wordpress.org/?v=491</generator> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>By: Ajit</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-345</link> <dc:creator>Ajit</dc:creator> <pubDate>Tue, 13 Apr 2010 04:43:59 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-345</guid> <description>hi, i want&#039;s to create an excel file where if i key in a serial number in the cell, the file will automaticaal come and attach to the cell. I dont want to go for Hyperlink. Any suggestions or help pls. Ajit</description> <content:encoded><![CDATA[<p>hi,<br /> i want&#8217;s to create an excel file where if i key in a serial number in the cell, the file will automaticaal come and attach to the cell. I dont want to go for Hyperlink.<br /> Any suggestions or help pls.<br /> Ajit</p> ]]></content:encoded> </item> <item><title>By: ajit</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-342</link> <dc:creator>ajit</dc:creator> <pubDate>Tue, 06 Apr 2010 10:59:38 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-342</guid> <description> Its not working?Public Sub Workbook_Open()Call onFileOpenMacroEnd SubPublic Sub onFileOpenMacro() MsgBox (&quot;yo&quot;) End Sub </description> <content:encoded><![CDATA[<p>Its not working?</p><p>Public Sub Workbook_Open()</p><p> Call onFileOpenMacro</p><p>End Sub</p><p>Public Sub onFileOpenMacro()<br /> MsgBox (&#8220;yo&#8221;)<br /> End Sub</p> ]]></content:encoded> </item> <item><title>By: Poer @ Excel VBA/Macro</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-338</link> <dc:creator>Poer @ Excel VBA/Macro</dc:creator> <pubDate>Thu, 10 Sep 2009 04:58:37 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-338</guid> <description>adi &rauquo; double click your VBAProject &gt; ThisWorkbook module, as put it there or click object combo box in the right pane and select Workbook.</description> <content:encoded><![CDATA[<p>adi &rauquo; double click your VBAProject > ThisWorkbook module, as put it there or click object combo box in the right pane and select Workbook.</p> ]]></content:encoded> </item> <item><title>By: adi</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-334</link> <dc:creator>adi</dc:creator> <pubDate>Thu, 27 Aug 2009 13:41:44 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-334</guid> <description>Hi, I don&#039;t understand where I&#039;m suppose to add the code: Private Sub Workbook_Open ()Call onFileOpenMacroEnd SubIn the same sheet of the macro I want to activate but in the top??? thanks:)</description> <content:encoded><![CDATA[<p>Hi, I don&#8217;t understand where I&#8217;m suppose to add<br /> the code:<br /> Private Sub Workbook_Open ()</p><p> Call onFileOpenMacro</p><p>End Sub</p><p>In the same sheet of the macro I want to activate<br /> but in the top???<br /> thanks:)</p> ]]></content:encoded> </item> <item><title>By: Poer</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-292</link> <dc:creator>Poer</dc:creator> <pubDate>Mon, 08 Jun 2009 01:13:18 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-292</guid> <description>Halo Krish, if you need to run the macro each time an excel worksheet activated, you need to put the calling code in Sheet1 module, in event Activate like this:&lt;pre class=&quot;brush:vb&quot;&gt; Private Sub Worksheet_Activate() call onSheet1Activate End Sub &lt;/pre&gt;</description> <content:encoded><![CDATA[<p>Halo Krish, if you need to run the macro each time an excel worksheet activated, you need to put the calling code in Sheet1 module, in event Activate like this:</p><pre class="brush:vb">
Private Sub Worksheet_Activate()
   call onSheet1Activate
End Sub
</pre>]]></content:encoded> </item> <item><title>By: Krish</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-290</link> <dc:creator>Krish</dc:creator> <pubDate>Tue, 26 May 2009 12:03:36 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-290</guid> <description>HiI tried. but its not working.. i want to run the macro every time (ex: while i navigate sheet1 to sheet2).please help.Thanks in Advance Krish</description> <content:encoded><![CDATA[<p>Hi</p><p>I tried. but its not working.. i want to run the macro every time (ex: while i navigate sheet1 to sheet2).</p><p>please help.</p><p>Thanks in Advance<br /> Krish</p> ]]></content:encoded> </item> <item><title>By: Poer</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-55</link> <dc:creator>Poer</dc:creator> <pubDate>Thu, 29 Jan 2009 02:43:09 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-55</guid> <description>Hi Seli, ofcourse we can call another macro, just use Call or directly use the function/sub name.Also please make sure that you use public sub/function if you want it can be called from another module.</description> <content:encoded><![CDATA[<p>Hi Seli, ofcourse we can call another macro, just use Call or directly use the function/sub name.</p><p>Also please make sure that you use public sub/function if you want it can be called from another module.</p> ]]></content:encoded> </item> <item><title>By: Seli</title><link>http://excelvbamacro.com/auto-run-macro-excel/comment-page-1/#comment-54</link> <dc:creator>Seli</dc:creator> <pubDate>Sun, 25 Jan 2009 09:47:56 +0000</pubDate> <guid isPermaLink="false">http://excelvbamacro.com/?p=106#comment-54</guid> <description>I have some code that works within one Sub, I would like to call another macro but when I tried to use call VBA wanted to set up another sub which sits outside the sub I wanted to run it in. Is there a way I can call a macro into another sub and have it run?Geoff</description> <content:encoded><![CDATA[<p>I have some code that works within one Sub, I would like to call another macro but when I tried to use call VBA wanted to set up another sub which sits outside the sub I wanted to run it in. Is there a way I can call a macro into another sub and have it run?</p><p>Geoff</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced) (user agent is rejected)
Database Caching 8/23 queries in 0.497 seconds using disk

Served from: excelvbamacro.com @ 2010-07-30 19:45:58 -->