PivotTable in Macro

H

Herbivor

I would like to set up a macro to refresh a PivotTable.
The range of the PivotTable may change on each run of the
macro (number of rows will vary in data set). I tried by
placing my cursor inside of the data set during the macro
record, but, however I implement, the macro always uses a
non variable reference. How can this be done?
 

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