This is a lengthy solution and since I am still a novice, I welcome anyone to condense the code down where applicable. I added a component that will make sure you can't duplicate a month.
Sub ValueClone() Dim lngLastCol As Long Dim lngLastRow As Long Dim wsMetrics As Worksheet Dim varMonth As Variant Dim LastDay As Integer Dim lngFirstRow As Long Dim lngFirstCol As Long Dim i As Long Set ws = ActiveWorkbook.Sheets("ws") varMonth = MonthName(Month(Now())) lngLastRow = ws.Cells(65536, 1).End(xlUp).Row lngFirstRow = lngLastRow - 4 lngLastCol = ws.Cells(lngLastRow, 100).End(xlToLeft).Column lngFirstCol = 1 If lngFirstRow = 0 Then lngFirstRow = 1 ' error check for blank sheet 'Pointers for copy/paste placement If lngLastRow < 8 Then lngFirstCol = 1 lngFirstRow = 8 ElseIf ws.Cells(lngFirstRow, 2) <> "" Then lngFirstCol = lngLastCol + 1 End If 'Added code to catch if a month repeats accidentally For i = 1 To lngLastCol If ws.Cells(lngFirstRow, i) = varMonth Then Exit Sub End If Next i 'Will paste new code into next grouping to the right ws.Range("A1:F5").Copy ws.Cells(lngFirstRow, lngFirstCol).PasteSpecial xlPasteValues ws.Cells(lngFirstRow, lngFirstCol) = varMonth End Sub Cheers! On Friday, September 25, 2015 at 11:19:29 AM UTC-7, Justin Pulley wrote: > > the data I am copying always lies in A1:F5 > > On the last day of the month I need to copy B1:F5 to B10:F15 and put the > month name in B9; after that it would go to the next empty column (in this > case E) and paste again for the next month. > -- Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel FORUM RULES 1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered. 2) Don't post a question in the thread of another member. 3) Don't post questions regarding breaking or bypassing any security measure. 4) Acknowledge the responses you receive, good or bad. 5) Jobs posting is not allowed. 6) Sharing copyrighted material and their links is not allowed. NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss. --- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com. To post to this group, send email to excel-macros@googlegroups.com. Visit this group at http://groups.google.com/group/excel-macros. For more options, visit https://groups.google.com/d/optout.