updating pivot table data via external xls file which is replaced

  • Thread starter Thread starter Kathl
  • Start date Start date
K

Kathl

hi,

the problem with my code for updating the table is that it works on my
computer but if i try it on another one the pivot table itself isn't updated
but a new worksheet created with an empty pivot in it

ActiveSheet.PivotTableWizard SourceType:=xlDatabase, SourceData:= _
"U:\xyz\xyz_Shared\test\TestLines.xls!R4C1:R50000C38"

The file from which the table should get it's data is called TestLines.xls
 
thx; now it seems to be trying to access the file but it tells me that it
cannot open it. any further suggestions?
 
Back
Top