annupojupradeep
New Member
HI Team,
This is A Pradeep Kumar from India, I like this site because I am learning new things about excel which helps me in my daily official worl. I am an employee in a private company.
At present I am working running a macro in MS 2003 version but while running same macro in 2007 version i am getting run time error 1004 refernce in not valid message;
my script is
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"Data").CreatePivotTable TableDestination:="", TableName:= _
"PivotTable1", DefaultVersion:=xlPivotTableVersion10
Could please help on this problem
Regards,
Pradeep
This is A Pradeep Kumar from India, I like this site because I am learning new things about excel which helps me in my daily official worl. I am an employee in a private company.
At present I am working running a macro in MS 2003 version but while running same macro in 2007 version i am getting run time error 1004 refernce in not valid message;
my script is
ActiveWorkbook.PivotCaches.Add(SourceType:=xlDatabase, SourceData:= _
"Data").CreatePivotTable TableDestination:="", TableName:= _
"PivotTable1", DefaultVersion:=xlPivotTableVersion10
Could please help on this problem
Regards,
Pradeep