Return to site

Excel 2016 macro fails in excel for mac

broken image

I’ve not error proofed it yet but you can get the idea… Add images of the first few rows of each sheet beside the hyperlinks. MsgBox 'Your Pivot Table is now updated.'Ġ65 Table of Contents – variation. Pivot_Sheet.PivotTables(PivotName).RefreshTable PivotCaches.Create(SourceType:=xlDatabase, SourceData:=NewRange) 'Change Pivot Table Data Source Range Address NewRange = Data_Sheet.Name & '!' & DataRange.Address(ReferenceStyle:=xlR1C1) Set DataRange = Data_Sheet.Range(StartPoint, Cells(DownCell, LastCol))

broken image

LastCol = StartPoint.End(xlToRight).Column Set Pivot_Sheet = ThisWorkbook.Worksheets('Pivot3') Set Data_Sheet = ThisWorkbook.Worksheets('PivotTableData3')