Set fd = Application.FileDialog(msoFileDialogFilePicker) Hi Everyone… i’m used report merging macro using text box and command button. ‘Cells(“A” & i).VerticalAlignment = xlVAlignCenter 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)) LastCol = StartPoint.End(xlToRight).Column Set Pivot_Sheet = ThisWorkbook.Worksheets('Pivot3') Set Data_Sheet = ThisWorkbook.Worksheets('PivotTableData3')