![]() |
Invalid Procedure Call or Argument - Run-time error '5'
Hello All,
A co-worker's is getting the following error, Run-time error '5' Invalid Procedure Call or Argument when she executes the code below. When I run it there is not error. We both have the same version of Excel and the same OS. Does anyone have any idea why this is happening??? Sub crtHndouts() ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatab ase, SourceData:= _ "'CM02 Data'!A:AG").createPivotTable TableDestination:= _ "'[CM02 -Report.xls]Reports'!R10C1", TableName:="Data", _ DefaultVersion:=xlPivotTableVersion10 ......... End Sub |
All times are GMT +1. The time now is 09:11 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com