Sub pjCount()
    Dim r As Long
    r = Sheets("Inquery").[A65536].End(xlUp).Row
    ActiveSheet.PivotTables("A3").PivotCache.SourceData = _
        "Inquery!R2C2:R" & r & "C4"

    ActiveSheet.PivotTables("A3").PivotCache.Refresh
End Sub

  

相关文章:

  • 2021-12-22
  • 2021-12-05
  • 2021-12-02
  • 2021-10-06
  • 2021-04-03
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2021-06-19
  • 2021-11-29
  • 2022-02-09
  • 2021-12-12
相关资源
相似解决方案