R
Reinhard
Hi there,
using the VBA code for accessing time scaled data I encounter the above
error message (Unexpected error in method - translated from my german
version) for the value field if reading more than nine elements (months).
I've read in various posts in the web I'm not alone here.
Does anyone have a suggestion for avoiding this trouble?
The following line of code ends up with my problem (German date format reads
as 09-30-2008 until 09-30-2009 in US format).
Set pTSV = .ActiveProject.ProjectSummaryTask.TimeScaleData("30.09.2008",
"30.09.2009", TimescaleUnit:=2)
I'm using MS Excel 2007 andMS Project 2007.
I've read various answers there is an issue when reading more than 9
elements. This can be fixed by using System.GC.collect() in VB.NET. But I'm
not using .NET.
Any help appreciated, I'm lost here.
Reinhard
using the VBA code for accessing time scaled data I encounter the above
error message (Unexpected error in method - translated from my german
version) for the value field if reading more than nine elements (months).
I've read in various posts in the web I'm not alone here.
Does anyone have a suggestion for avoiding this trouble?
The following line of code ends up with my problem (German date format reads
as 09-30-2008 until 09-30-2009 in US format).
Set pTSV = .ActiveProject.ProjectSummaryTask.TimeScaleData("30.09.2008",
"30.09.2009", TimescaleUnit:=2)
I'm using MS Excel 2007 andMS Project 2007.
I've read various answers there is an issue when reading more than 9
elements. This can be fixed by using System.GC.collect() in VB.NET. But I'm
not using .NET.
Any help appreciated, I'm lost here.
Reinhard