My Excel Macro queries a DB2 database and populates the results(report) in excel sheet.The macro works fine for majority of report requests, but for some reports it gives the error no : 1004 and crashes without proceeding.It also says unable to set orientation property to the pivot field class.I couldn't debug as when i step into the macro it crashes.If anyone can shed some light into thsi it would be great.
Thanx
Ammai
Thanx
Ammai