Consulting

Page 2 of 2 FirstFirst 1 2
Results 21 to 22 of 22

Thread: If only blanks PIVOT should not be inserted

  1. #21
    VBAX Expert
    Joined
    Sep 2016
    Posts
    788
    Location
    try1
    With ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:=tbl).CreatePivotTable(TableDestination:=Sheets("Summary").Range("F6"))
    try2
    With ActiveWorkbook.PivotCaches.Create(SourceType:=xlDatabase, SourceData:=tbl.Address(ReferenceStyle:=xlR1C1, External:=True)).CreatePivotTable(TableDestination:=Sheets("Summary").Range("F6"))

  2. #22
    Mana. this is fantastic approach , I tried and indeed it worked .. thanks mate I really appreciate your efforts in this ..

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •