Many Pivottables created in bva

J

johnb

I have 20 + pivottables linked in to an Access XP database. Each PT is based
on its own Access Select query with a Where clause. I’m using a
ADODB.connection and connectionstring and all the bits that go with it. I
set up a pivottable cache and table in vba together with the pt layout for
each worksheet. One sheet = one pt. All these pt’s are rebuilt at workbook
open time.

80% of these 20+ procedures are the same, the variable bits are the queries
and their fields(the connection strings).



The question: To reduced this duplication should use a Class Module or is
there another approach?
TIA.
Regards
johnb
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top