Since I am firm believer in writing concise code whenever possible,
especially when assisting others in learning the power of VBA, I
thought it would be helpful to post a shorter version of your
Move_Only_Date_To_Result routine (3 statements instead of 9):

Sub Move_Only_Date_to_Result()
    Sheets("Sheet1").Range("B7:D12").Copy Sheets("Results").Range
("A1")
    Sheets("Results").Range("C2:C6").Copy
    Sheets("Results").Range("C2").PasteSpecial Paste:=xlPasteValues
End Sub

Best wishes,
Rolf Jaeger
SoarentComputing
http://soarentcomputing.com/SoarentComputing/ExcelSolutions.htm

On Dec 3, 10:38 pm, rf1234 rf1234 <rfhyd1...@gmail.com> wrote:
> Your are trying to copy and paste.
> if u will use copy and paste then it will copy
> formula.
>
> use code
>
> Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
>         :=False, Transpose:=False
>
> for you i have attached the file
>
>
>
> On Thu, Dec 3, 2009 at 8:41 PM, krishnan Gopi <excelg...@gmail.com> wrote:
> > Hello All,
>
> > Facing problem with date function, the same is explained in the attachment.
>
> > Regards
> > Gopi Krishnan
>
> > --
>
> > ---------------------------------------------------------------------------­-------
> > Some important links for excel users:
> > 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
> >http://www.excelitems.com
> > 2. Excel tutorials athttp://www.excel-macros.blogspot.com
> > 3. Learn VBA Macros athttp://www.vbamacros.blogspot.com
> > 4. Excel Tips and Tricks athttp://exceldailytip.blogspot.com
>
> > To post to this group, send email to excel-macros@googlegroups.com
> > If you find any spam message in the group, please send an email to:
> > Ayush Jain @ jainayus...@gmail.com or
> > Ashish Jain @ 26may.1...@gmail.com
> > <><><><><><><><><><><><><><><><><><><><><><>
> > HELP US GROW !!
>
> > We reach over 6,500 subscribers worldwide and receive many nice notes about
> > the learning and support from the group. Our goal is to have 10,000
> > subscribers by the end of 2009. Let friends and co-workers know they can
> > subscribe to group at
> >http://groups.google.com/group/excel-macros/subscribe
>
>
>
>  Date Function.xls
> 56KViewDownload- Hide quoted text -
>
> - Show quoted text -

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
2. Excel tutorials at http://www.excel-macros.blogspot.com
3. Learn VBA Macros at http://www.vbamacros.blogspot.com
4. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com or
Ashish Jain @ 26may.1...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,500 subscribers worldwide and receive many nice notes about the 
learning and support from the group. Our goal is to have 10,000 subscribers by 
the end of 2009. Let friends and co-workers know they can subscribe to group at 
http://groups.google.com/group/excel-macros/subscribe

Reply via email to