Hi Oldjay
Copy the LastRow function from my site also in the module
--
Regards Ron de Bruin
http://www.rondebruin.nl
"Oldjay" wrote in message ...
I spoke too soon - Here is what I have got .I get a compile error on "Last row"
Sub or Function not defined
Ron ???
Sub copy_6_Values_PasteSpecial()
Dim destrange As Range
Range("AC151:AO151").Copy
If Selection.Areas.Count 1 Then Exit Sub
Application.ScreenUpdating = False
Set destrange = Sheets("Records").Range("PT_Data" &
LastRow(Sheets("Records")) + 1)
Selection.Copy
destrange.PasteSpecial xlPasteValues, , False, False
Application.CutCopyMode = False
Application.ScreenUpdating = True
End Sub
"Oldjay" wrote:
Thanks Helped alot
"Oldjay" wrote:
I have an input sheet that allows a user to fill in various time information
In this same sheet I have a row that has all the headings I want to to save
in a database. In the next row I have the formulas that references the input
cells
I have another sheet that I want to saves a record for each day.
It has all the above headings
Is there a macro that will copy the record to the database and have it
included in the database range?
oldjay