View Single Post
  #1  
Old February 4th, 2011, 05:04 AM
Azrael Azrael is offline
Member
 
First recorded activity by OfficeFrustration: Mar 2005
Location: New York
Posts: 10
Default copy paste via macro

I need to copy certain data from a page and move it to another form, in the same book. The basics is that data will be entered each day then the user will hit the paste macro and that information will be moved to another page that will store it.
I have this so far, just the rough draft atm:

Sub pasteval()
'
' pasteval Macro
'

'
Range("I13:J13").Select
Selection.Copy
Range("D16").Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=True, Transpose:=False
End Sub

But I need the next day's data to be pasted onto D17, and each day after that on subsequent lines. That data will then be used to chart/graph the data for the week/period.