Hello Chance2,
I think I figured it out. Here is what I did:
Sub Extend_SubTotals()
Dim LastRow As Long
Dim LastCol As Long
Dim iLastColumn As Long
Dim lastcell As String
'Define Variables
LastRow = Range("A" & Rows.Count).End(xlUp).Row
ActiveSheet.UsedRange.Select
LastCol = Range("A" & Columns.Count).End(xlToLeft).Column
lastcell = ActiveCell.SpecialCells(xlLastCell).Address
iLastColumn = ActiveCell.SpecialCells(xlLastCell).Column
a = Cells(7, Columns.Count).End(xlToLeft).Column
Range("R1:R6").Select
Selection.Copy
Range(Cells(1, 18), Cells(6, iLastColumn)).Select
ActiveSheet.Paste
'Added some formatting
Range(Cells(1, 17), Cells(5, iLastColumn)).Select
Selection.Font.Bold = True
Selection.Font.Bold = False
Selection.Font.ColorIndex = 0
Range(Cells(3, 17), Cells(3, iLastColumn)).Select
Selection.Font.ColorIndex = 55
Seems to work.
Thanks for your help!! My next question will be about making my pivot table more dynamic...stay tuned:-)
Cheers,
Matt
Bookmarks