<?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/"
	>

<channel>
	<title>Microsoft Excel Vba Formulas Tips and Tricks</title>
	<atom:link href="http://excelself.com/feed" rel="self" type="application/rss+xml" />
	<link>http://excelself.com</link>
	<description>Solution For Your Microsoft Excel Vba Formulas Problems</description>
	<pubDate>Tue, 13 Oct 2009 15:20:58 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Search-Engine-Excel.Com - The Helpful One for You</title>
		<link>http://excelself.com/excel-miscellaneous-problems/search-engine-excelcom-helpful-one-for-you.html</link>
		<comments>http://excelself.com/excel-miscellaneous-problems/search-engine-excelcom-helpful-one-for-you.html#comments</comments>
		<pubDate>Tue, 13 Oct 2009 15:19:08 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Miscellaneous]]></category>

		<category><![CDATA[excel misc]]></category>

		<category><![CDATA[excel miscellanous]]></category>

		<category><![CDATA[excel search engine]]></category>

		<category><![CDATA[search engine excel]]></category>

		<category><![CDATA[search engine for excel files]]></category>

		<category><![CDATA[search excel file]]></category>

		<category><![CDATA[search excel files]]></category>

		<category><![CDATA[search xls file]]></category>

		<category><![CDATA[search xls files]]></category>

		<category><![CDATA[search-engine-excel com]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=228</guid>
		<description><![CDATA[If you are tired and stuck up searching for the real examples on xls files to solve your excel problem, this site may become your Saviour:  Search-Engine-Excel.Com. You can search, view, and download the real xls files that relevant with your excel problem through Excel Search Engine.
Post from: Microsoft Excel Vba Formulas Tips and [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p>If you are tired and stuck up searching for the real examples on xls files to solve your excel problem, this site may become your Saviour:  Search-Engine-Excel.Com. You can search, view, and download the real xls files that relevant with your excel problem through <a href="http://search-engine-excel.com/">Excel Search Engine</a>.</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-miscellaneous-problems/search-engine-excelcom-helpful-one-for-you.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Switch Minutes to Seconds in Excel</title>
		<link>http://excelself.com/excel-formulas/switch-minutes-to-seconds-in-excel.html</link>
		<comments>http://excelself.com/excel-formulas/switch-minutes-to-seconds-in-excel.html#comments</comments>
		<pubDate>Sun, 11 Oct 2009 14:49:04 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Formulas]]></category>

		<category><![CDATA[convert minute to second]]></category>

		<category><![CDATA[convert minute to second in excel]]></category>

		<category><![CDATA[excel formula]]></category>

		<category><![CDATA[how to convert minutes to seconds in excel]]></category>

		<category><![CDATA[minute to second conversion]]></category>

		<category><![CDATA[switch minutes to seconds in excel]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=226</guid>
		<description><![CDATA[Excel Formulas Switch Minutes to Seconds in Excel [Q]
I have a telephone-report that gives me the number of seconds each
conversation has taken. I want to convert these seconds in a hh:mm:ss format. Is there a function or a formula available in Excel that switch minutes to seconds ?
Excel Formulas Switch Minutes to Seconds in Excel [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Excel Formulas <strong>Switch Minutes to Seconds in Excel</strong> [Q]</p>
<p>I have a telephone-report that gives me the number of seconds each<br />
conversation has taken. I want to convert these seconds in a hh:mm:ss format. Is there a function or a formula available in Excel that switch minutes to seconds ?</p>
<p>Excel Formulas <strong>Switch Minutes to Seconds in Excel</strong> [A]</p>
<p>You can switch minutes to seconds in excel by<strong> </strong>putting 86400 in a spare cell and copy it, then :</p>
<p>Select your range<br />
Goto Edit&gt;PasteSpecial and click Divide<br />
OK</p>
<p>Format the cells as time, and claer the cell with 86400 in it</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-formulas/switch-minutes-to-seconds-in-excel.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Excel Polynomial Trendline</title>
		<link>http://excelself.com/excel-miscellaneous-problems/excel-polynomial-trendline.html</link>
		<comments>http://excelself.com/excel-miscellaneous-problems/excel-polynomial-trendline.html#comments</comments>
		<pubDate>Thu, 08 Oct 2009 14:36:43 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Miscellaneous]]></category>

		<category><![CDATA[excel misc]]></category>

		<category><![CDATA[excel miscellanous]]></category>

		<category><![CDATA[excel polynomial trendline]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=224</guid>
		<description><![CDATA[Excel Polynomial Trendline [Q]
I found the excel polynomial trendline function in Charts very useful. My question is: Are there equivalent functions? What I mean, I know about &#8220;Trend&#8221; and &#8220;Linset&#8221; functions, yet in Trendline there are Polynomial Approximations, Exponential Approximations etc&#8230; Which I couldn&#8217;t find anywhere. Are they available? How can I create the dataset [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Excel Polynomial Trendline</strong> [Q]</p>
<p>I found the excel polynomial trendline function in Charts very useful. My question is: Are there equivalent functions? What I mean, I know about &#8220;Trend&#8221; and &#8220;Linset&#8221; functions, yet in Trendline there are Polynomial Approximations, Exponential Approximations etc&#8230; Which I couldn&#8217;t find anywhere. Are they available? How can I create the dataset according to Excel approximation?</p>
<p>Are there anymore Approxiamtions / Interpolations in Excel (Splines, Least<br />
Squares, etc..)?</p>
<p>I&#8217;m using Office 2007.</p>
<p>Thanks.</p>
<p><strong>Excel Polynomial Trendline</strong> [A]</p>
<p>All of the chart trend lines can be fit via LINES using either array formulas or transformation to linearity. A couple of comments are in order, though. For the transformed fit to be optimal, you must assume equal variance (across x values) on the transformed scale, not the original scale. Otherwise either a weighted or nonlinear fit is more appropriate; neither of which is natively available in Excel, though you could &#8220;roll you own&#8221; if you know what you are doing.</p>
<p>Assuming north american regional settings, the polynomial fits shown at the link assume that the x and y values are given in columns. If they are given in rows, then the power separator would be a semicolon instead of a comma.</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-miscellaneous-problems/excel-polynomial-trendline.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Sending Multiple Personalized Email from Excel</title>
		<link>http://excelself.com/excel-tips/sending-multiple-personalized-email-from-excel.html</link>
		<comments>http://excelself.com/excel-tips/sending-multiple-personalized-email-from-excel.html#comments</comments>
		<pubDate>Tue, 06 Oct 2009 14:32:18 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Tips]]></category>

		<category><![CDATA[how to send email from excel]]></category>

		<category><![CDATA[sending email from excel]]></category>

		<category><![CDATA[sending multiple personalized email from excel]]></category>

		<category><![CDATA[sending personalized email from excel]]></category>

		<category><![CDATA[xcel tips]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=221</guid>
		<description><![CDATA[Excel Tips Sending Multiple Personalized Email from Excel [Q]
I want to send personalized email from excel, i have a column named e-mails in excel that e-mail addresses accommodate in that column. What I want to do is to send an email to selected email addresses via outlook. I want outlook to be opened and all [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Excel Tips <strong>Sending Multiple Personalized Email from Excel</strong> [Q]</p>
<p>I want to send personalized email from excel, i have a column named e-mails in excel that e-mail addresses accommodate in that column. What I want to do is to send an email to selected email addresses via outlook. I want outlook to be opened and all the selected email addresses are placed in the to: field in outlook. Is there any way to do that?</p>
<p>Excel Tips <strong>Sending Multiple Personalized Email from Excel</strong> [A]</p>
<p>This excel macro can help you send personalized email from excel</p>
<p>Sub Mail_small_Text_Outlook()<br />
Dim OutApp As Object<br />
Dim OutMail As Object<br />
Dim strbody As String<br />
Dim cell As Range<br />
Dim strto As String</p>
<p>Set OutApp = CreateObject(&#8221;Outlook.Application&#8221;)<br />
Set OutMail = OutApp.CreateItem(0)<br />
strbody = &#8220;Hi there&#8221; &amp; vbNewLine &amp; vbNewLine &amp; _<br />
&#8220;This is line 1&#8243; &amp; vbNewLine &amp; _<br />
&#8220;This is line 2&#8243; &amp; vbNewLine &amp; _<br />
&#8220;This is line 3&#8243; &amp; vbNewLine &amp; _<br />
&#8220;This is line 4&#8243;</p>
<p>For Each cell In Selection<br />
If cell.Value Like &#8220;*@*&#8221; Then<br />
strto = strto &amp; cell.Value &amp; &#8220;;&#8221;<br />
End If<br />
Next<br />
If Len(strto) &gt; 0 Then strto = Left(strto, Len(strto) - 1)</p>
<p>With OutMail<br />
.To = strto<br />
.CC = &#8220;&#8221;<br />
.BCC = &#8220;&#8221;<br />
.Subject = &#8220;This is the Subject line&#8221;<br />
.Body = strbody<br />
.display<br />
End With</p>
<p>Set OutMail = Nothing<br />
Set OutApp = Nothing<br />
End Sub</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-tips/sending-multiple-personalized-email-from-excel.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Excel Sumif Multiple Criteria</title>
		<link>http://excelself.com/excel-formulas/excel-sumif-multiple-criteria.html</link>
		<comments>http://excelself.com/excel-formulas/excel-sumif-multiple-criteria.html#comments</comments>
		<pubDate>Sun, 04 Oct 2009 14:29:53 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Formulas]]></category>

		<category><![CDATA[excel formula]]></category>

		<category><![CDATA[excel how to excel sumif multiple criteria]]></category>

		<category><![CDATA[excel sumif multiple criteria]]></category>

		<category><![CDATA[using excel sumif criteria]]></category>

		<category><![CDATA[xcel formulas]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=217</guid>
		<description><![CDATA[Excel Formulas Excel Sumif Multiple Criteria [Q]
I need help on microsoft excel sumif multiple criteria, Given range named &#8220;type&#8221; and &#8220;qty&#8221;, i am trying to write a formula that will sum the &#8220;qty&#8221; of multiple &#8220;type&#8221;s together. I&#8217;ve tried :
=sum(if((type=&#8221;apples&#8221;)+(type=&#8221;oranges&#8221;),qty,0)
and
=sumif(type,(or(&#8221;apples&#8221;),(&#8221;oranges&#8221;)),qty)
neither work&#8230;.can someone help me please?
Excel Formulas Excel Sumif Multiple Criteria [A]
This formulas should help your [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Excel Formulas <strong>Excel Sumif Multiple Criteria </strong>[Q]</p>
<p>I need help on microsoft <strong>excel sumif multiple criteria</strong>, Given range named &#8220;type&#8221; and &#8220;qty&#8221;, i am trying to write a formula that will sum the &#8220;qty&#8221; of multiple &#8220;type&#8221;s together. I&#8217;ve tried :</p>
<p>=sum(if((type=&#8221;apples&#8221;)+(type=&#8221;oranges&#8221;),qty,0)</p>
<p>and</p>
<p>=sumif(type,(or(&#8221;apples&#8221;),(&#8221;oranges&#8221;)),qty)<br />
neither work&#8230;.can someone help me please?</p>
<p>Excel Formulas <strong>Excel Sumif Multiple Criteria </strong>[A]</p>
<p>This formulas should help your problem on excel sumif multiple criterias:</p>
<p>=SUM(SUMIF(type,{&#8221;apples&#8221;,&#8221;oranges&#8221;},qty))</p>
<p>=SUMPRODUCT(&#8211;(ISNUMBER(MATCH(type,items,0))),qty)</p>
<p>Where items is a named range containing apples, oranges.</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-formulas/excel-sumif-multiple-criteria.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Remove Hyperlinks in Excel</title>
		<link>http://excelself.com/excel-tips/remove-hyperlinks-in-excel.html</link>
		<comments>http://excelself.com/excel-tips/remove-hyperlinks-in-excel.html#comments</comments>
		<pubDate>Sun, 04 Oct 2009 13:45:38 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Tips]]></category>

		<category><![CDATA[how remove hyperlinks in excel]]></category>

		<category><![CDATA[how to remove hyperlinks in excel]]></category>

		<category><![CDATA[microsoft excel tips]]></category>

		<category><![CDATA[remove hyperlinks from excel spreadsheet]]></category>

		<category><![CDATA[remove hyperlinks in excel]]></category>

		<category><![CDATA[removing hyperlinks in excel]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=214</guid>
		<description><![CDATA[Excel Tips Remove Hyperlinks in Excel [Q]
I need help on removing hyperlinks in excel, i&#8217;ve just downloaded information from an encyclopedia article for my class and want to eliminate the excel spreadsheet hyperlinks in order to use the information in developing overheads. Unfortunately, there are over 100 within the microsoft excel 2003 document, and to [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Excel Tips <strong>Remove Hyperlinks in Excel</strong> [Q]</p>
<p>I need help on <strong>removing hyperlinks in excel</strong>, i&#8217;ve just downloaded information from an encyclopedia article for my class and want to eliminate the excel spreadsheet hyperlinks in order to use the information in developing overheads. Unfortunately, there are over 100 within the microsoft excel 2003 document, and to save time, I would like to know how to remove all of the links together rather than individually.</p>
<p>Excel Tips <strong>Remove Hyperlinks in Excel</strong> [A]</p>
<p>This tips should help you out on removing many hyperlinks in excel spreadsheet at one time:</p>
<p>Select all the cells (ctrl-A (twice in xl2003))<br />
hit alt-f11 (to get to the VBE, where macros live)<br />
hit ctrl-g (to see the immediate window)</p>
<p>Type this and hit enter:</p>
<p>selection.hyperlinks.delete</p>
<p>Close the VBE and back to excel to see if it worked. ]</p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-tips/remove-hyperlinks-in-excel.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Copy Entire Rows to Another Spreadsheet Based on Cell Criteria</title>
		<link>http://excelself.com/excel-vba/copy-entire-rows-to-another-spreadsheet-based-on-cell-criteria.html</link>
		<comments>http://excelself.com/excel-vba/copy-entire-rows-to-another-spreadsheet-based-on-cell-criteria.html#comments</comments>
		<pubDate>Tue, 29 Sep 2009 07:41:05 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Spreadsheet]]></category>

		<category><![CDATA[Excel Vba]]></category>

		<category><![CDATA[copy entire Rows to another spreadsheet based on cell criteria]]></category>

		<category><![CDATA[excel copy entire Rows to another spreadsheet based on cell criteria]]></category>

		<category><![CDATA[vba excel]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=210</guid>
		<description><![CDATA[Excel Vba Copy Entire Rows to Another Spreadsheet Based on Cell Criteria [Q]
I am looking for excel vba codes to copy rows based on partial cell content. I have an excel spreadsheet called &#8220;main.xls&#8221; from which I would like to copy data to another excel spreadsheet when certain criteria are met.
Column I have following data.
TML123
TML702
TML4568
TML956
FTF987
FTF0956
FTF687
TML257
I [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Excel Vba Copy Entire Rows to Another Spreadsheet Based on Cell Criteria</strong> [Q]</p>
<p>I am looking for excel vba codes to copy rows based on partial cell content. I have an excel spreadsheet called &#8220;main.xls&#8221; from which I would like to copy data to another excel spreadsheet when certain criteria are met.</p>
<p>Column I have following data.<br />
TML123<br />
TML702<br />
TML4568<br />
TML956<br />
FTF987<br />
FTF0956<br />
FTF687<br />
TML257</p>
<p>I would like the macro to copy rows that have TML prefix to another workbook (After.xls) and paste under a tab named TML. The macro should also copy rows that have FTF prefix to the same workbook (After.xls) and paste under a tab named FTF.</p>
<p><strong>Excel Vba Copy Entire Rows to Another </strong><strong>Spreadsheet</strong><strong> Based on Cell Criteria</strong> [A]</p>
<p>As a starter for 10 &#8230;lets use the filter to make it easier. this extracst<br />
the data to two new worksheets. All you need to do is copy the data.</p>
<p><em>Option Explicit<br />
Sub FilterData()<br />
Extract &#8220;TML&#8221;<br />
Extract &#8220;FTF&#8221;<br />
End Sub<br />
Sub Extract(what As String)<br />
Dim ws As Worksheet<br />
Set ws = Worksheets.Add<br />
ws.Range(&#8221;A1&#8243;) = &#8220;AAA&#8221;<br />
ws.Range(&#8221;D1&#8243;) = &#8220;AAA&#8221;<br />
ws.Range(&#8221;D2&#8243;) = what &amp; &#8220;*&#8221;</em></p>
<p><em>Sheets(&#8221;Sheet1&#8243;).Range(&#8221;A1:A1000&#8243;).AdvancedFilter Action:=xlFilterCopy, _<br />
CriteriaRange:=ws.Range(&#8221;D1:D2&#8243;), CopyToRange:=ws.Range(&#8221;A1&#8243;),<br />
Unique:=False</em></p>
<p><em>&#8216;To DO<br />
&#8216; Copy the data from ws to wherever you want</em></p>
<p><em>End Sub</em></p>
<p>To automate the whole excel process and that includes the<br />
coping and pasting to new workbook. The main.xls file is open and the excel macro is located in after.xls :</p>
<p>Try the below macro from Main xls activesheet</p>
<p><em>Sub Macro()</em></p>
<p><em>Dim wb As Workbook, lngRow As Long, lngNextRow As Long<br />
Set wb = Workbooks(&#8221;after.xls&#8221;)</em></p>
<p><em>For lngRow = 1 To ActiveSheet.Cells(Rows.Count, &#8220;I&#8221;).End(xlUp).Row<br />
If Range(&#8221;I&#8221; &amp; lngRow) Like &#8220;TML*&#8221; Or Range(&#8221;I&#8221; &amp; lngRow) Like &#8220;FTF*&#8221; Then<br />
lngNextRow = wb.Worksheets(CStr(Left(Range(&#8221;I&#8221; &amp; lngRow), 3))).Cells( _<br />
Rows.Count, &#8220;I&#8221;).End(xlUp).Row + 1<br />
Rows(lngRow).Copy _<br />
wb.Worksheets(CStr(Left(Range(&#8221;I&#8221; &amp; lngRow), 3))).Rows(lngNextRow)<br />
End If<br />
Next</em></p>
<p><em>End Sub </em></p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-vba/copy-entire-rows-to-another-spreadsheet-based-on-cell-criteria.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Streamlining Macro Created by Macros Recorder</title>
		<link>http://excelself.com/excel-tips/streamlining-macro-created-by-macros-recorder.html</link>
		<comments>http://excelself.com/excel-tips/streamlining-macro-created-by-macros-recorder.html#comments</comments>
		<pubDate>Sun, 27 Sep 2009 07:50:24 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Tips]]></category>

		<category><![CDATA[streamlining excel macro]]></category>

		<category><![CDATA[streamlining macro created by macros recorder]]></category>

		<category><![CDATA[tips excel]]></category>

		<category><![CDATA[tips for excel]]></category>

		<category><![CDATA[xcel tips]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=212</guid>
		<description><![CDATA[Excel Tips Streamlining Macro Created by Macros Recorder [Q]
I used the macro recorder in Excel to create a nice macro to reorganize some raw data into a format more useful for Excel to work with. In moving the data around, at one point I selected a range (J8:R8) and copied/pasted the formulas in it down [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Excel Tips Streamlining Macro Created by Macros Recorder </strong>[Q]</p>
<p>I used the macro recorder in Excel to create a nice macro to reorganize some raw data into a format more useful for Excel to work with. In moving the data around, at one point I selected a range (J8:R8) and copied/pasted the formulas in it down to the bottom of the worksheet, then copied that entire range and pasted values. That portion of the code (from the recorder) looked like this:</p>
<p>Range(&#8221;J8:R8&#8243;).Select<br />
Selection.Copy<br />
Range(Selection, Selection.End(xlDown)).Select<br />
ActiveSheet.Paste<br />
Application.CutCopyMode = False<br />
Selection.Copy<br />
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, _<br />
SkipBlanks :=False, Transpose:=False</p>
<p>I&#8217;d really like to knock this down to just a couple of lines, maybe three at<br />
most. Can anyone help out? Thanks.</p>
<p><strong>Excel Tips Streamlining Macro Created by Macros Recorder </strong>[A]</p>
<p>Your &#8220;three&#8221; line excel tips is below, along with a separate approach. (You&#8217;ll<br />
likely get a number of answers that all have a slightly different way to<br />
achieve your results).</p>
<p><em>Sub ThreeLines()<br />
Range(&#8221;J8:R8&#8243;).Copy Range(Range(&#8221;J8:R8&#8243;), Range(&#8221;J8:R8&#8243;).End(xlDown))<br />
Range(Range(&#8221;J8:R8&#8243;), Range(&#8221;J8:R8&#8243;).End(xlDown)).Copy<br />
Range(Range(&#8221;J8:R8&#8243;), Range(&#8221;J8:R8&#8243;).End(xlDown)).PasteSpecial xlPasteValues<br />
Application.CutCopyMode = False<br />
End Sub</p>
<p>Sub SeparateApproach()<br />
Dim Rng As Range<br />
Set Rng = Range(&#8221;J8:R8&#8243;)<br />
Set Rng = Range(Rng, Rng.End(xlDown))<br />
Rng.FillDown<br />
Rng.Copy<br />
Rng.PasteSpecial Paste:=xlPasteValues<br />
Application.CutCopyMode = False<br />
End Sub</em></p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-tips/streamlining-macro-created-by-macros-recorder.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Copying Cells Which Include Conditional Formatting in Worksheet</title>
		<link>http://excelself.com/excel-worksheet/copying-cells-which-include-conditional-formatting-in-worksheet.html</link>
		<comments>http://excelself.com/excel-worksheet/copying-cells-which-include-conditional-formatting-in-worksheet.html#comments</comments>
		<pubDate>Fri, 25 Sep 2009 07:33:52 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Worksheet]]></category>

		<category><![CDATA[copying cells which include conditional formatting in worksheet]]></category>

		<category><![CDATA[excel code]]></category>

		<category><![CDATA[excel worksheet code]]></category>

		<category><![CDATA[excel worksheet formula]]></category>

		<category><![CDATA[excel worksheet formulas]]></category>

		<category><![CDATA[how to include conditional formatting in excel worksheet]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=203</guid>
		<description><![CDATA[Excel Worksheet Copying Cells Which Include Formatting in Worksheet [Q]
I need some help modifying this microsoft excel code to include the worksheet formatting of the cell (conditional formatting):
If Not Intersect(Target, Range(&#8221;b4:b7&#8243;)) Is Nothing Then
Worksheets(&#8221;DuplicateSheet&#8221;).Range(&#8221;b11:b14&#8243;) =
Worksheets(&#8221;OriginalSheet&#8221;).Range(&#8221;b4:b7&#8243;).Value
End If
This is activated on the excel Worksheet_Change event. This excel code successfully copies that range of cells to the duplicate [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Excel Worksheet Copying Cells Which Include Formatting in Worksheet</strong> [Q]</p>
<p>I need some help modifying this microsoft excel code to include the worksheet formatting of the cell (conditional formatting):</p>
<p>If Not Intersect(Target, Range(&#8221;b4:b7&#8243;)) Is Nothing Then<br />
Worksheets(&#8221;DuplicateSheet&#8221;).Range(&#8221;b11:b14&#8243;) =<br />
Worksheets(&#8221;OriginalSheet&#8221;).Range(&#8221;b4:b7&#8243;).Value<br />
End If</p>
<p>This is activated on the excel Worksheet_Change event. This excel code successfully copies that range of cells to the duplicate sheet should I make a change to one of them, but the conditional formatting is left behind. How can I drag the formatting over as well?</p>
<p>Thanks!</p>
<p><strong>Excel Worksheet Copying Cells Which Include Formatting in Worksheet</strong> [A]</p>
<p>Your excel worksheet code is writen to transfer values only. I would suggest you use the copy this excel worksheet code :<br />
<em>If Not Intersect(Target, Range(&#8221;b4:b7&#8243;)) Is Nothing Then<br />
Worksheets(&#8221;DuplicateSheet&#8221;).Range(&#8221;b11:b14&#8243;).Copy Destination:= _<br />
Worksheets(&#8221;OriginalSheet&#8221;).Range(&#8221;b4:b7&#8243;)<br />
End If </em></p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-worksheet/copying-cells-which-include-conditional-formatting-in-worksheet.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>How to Draw Lines on User Form</title>
		<link>http://excelself.com/excel-tips/how-to-draw-lines-on-user-form.html</link>
		<comments>http://excelself.com/excel-tips/how-to-draw-lines-on-user-form.html#comments</comments>
		<pubDate>Tue, 25 Aug 2009 07:39:15 +0000</pubDate>
		<dc:creator>vba excel</dc:creator>
		
		<category><![CDATA[Excel Tips]]></category>

		<category><![CDATA[draw lines on excel user form]]></category>

		<category><![CDATA[How to Draw Lines on User Form]]></category>

		<category><![CDATA[microsoft excel tips]]></category>

		<category><![CDATA[xcel tips]]></category>

		<guid isPermaLink="false">http://excelself.com/?p=206</guid>
		<description><![CDATA[Excel Tips How to Draw Lines on User Form [Q]
I need help to draw lines in a microsoft excel User Form. How do I do this? Line is not an option in the Form Tool box. Or am I now seeing it? Thank you in advance for any help you can provide.
Excel Tips How to [...]<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></description>
			<content:encoded><![CDATA[<p><strong>Excel Tips How to Draw Lines on User Form</strong> [Q]</p>
<p>I need help to draw lines in a microsoft excel User Form. How do I do this? Line is not an option in the Form Tool box. Or am I now seeing it? Thank you in advance for any help you can provide.</p>
<p><strong>Excel Tips How to Draw Lines on User Form</strong> [A]</p>
<p><em>Just use a Frame control, setting the caption to an<br />
empty string, sizing it to as thick as I want the line and changing<br />
the border style and back color to make it look good. </em></p>
<p>Post from: <a href="http://excelself.com">Microsoft Excel Vba Formulas Tips and Tricks</a></p>
]]></content:encoded>
			<wfw:commentRss>http://excelself.com/excel-tips/how-to-draw-lines-on-user-form.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>

