Maybe:
![]()
Sub EnterFormula() Worksheets("Sheet1").Range("M65").Formula = "=AVERAGE(M6:M47)" Range("M67") = Range("M66").Value 'On Deck becomes Prior Data Range("M66") = Range("M65").Value 'New data copied to On Deck area End Sub
Dom
Maybe:
![]()
Sub EnterFormula() Worksheets("Sheet1").Range("M65").Formula = "=AVERAGE(M6:M47)" Range("M67") = Range("M66").Value 'On Deck becomes Prior Data Range("M66") = Range("M65").Value 'New data copied to On Deck area End Sub
Dom
"May the fleas of a thousand camels infest the crotch of the person who screws up your day and may their arms be too short to scratch..."
Use code tags when posting your VBA code: [code] Your code here [/code]
Remember, saying thanks only takes a second or two. Click the little star to give some Rep if you think an answer deserves it.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks