Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Refreshing Pivot Table

Status
Not open for further replies.

nateshk

Programmer
Jan 16, 2001
49
HK
Hi,

Iam have got pivot tables in my excel application. The data for the pivot table is an another excel sheet in a different workbook.i have selected "Refresh on open" option.

But whenever i open my workbbok it says "Cannot open xyz.xls"

But if i open the second data workbook before opening my workbook, it works fine.

is there any way i can overcome this problem.

Thanx and Regards

Natesh
 
Hi Natesh,

Unless someone can come up with a solution related directly to the use of Pivot Tables, what about using this option...

Using a Workbook_Open event, have a routine that:
a) opens the other file,
b) copies the data,
c) pastes it to the location required,
d) closes the other file.

Hope this helps. :) Please advise as to how you make out.

Regards, ...Dale Watson dwatson@bsi.gov.mb.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top