Excel macro to change location of .cub files used by pivot tables? (to allow .xls files that depend

Posted by Rory on Stack Overflow See other posts from Stack Overflow or by Rory
Published on 2010-04-25T11:57:43Z Indexed on 2010/04/25 12:03 UTC
Read the original article Hit count: 173

I often use Excel with pivot tables based on .cub files for OLAP-type analysis. This is great except when you want to move the xls and you realise internally it's got a non-relative reference to the location of the .cub file. How can we cope with this - ie make it convenient to move around xls files that depend on .cub files?

The best answer I could come up with is writing a macro that updates the pivot tables' reference to the .cub file location....so I'll pop that in an answer.

© Stack Overflow or respective owner

Related posts about excel

Related posts about excel-external-data