table - lines variables for DB functions, charts.. etc..

M

Marina Limeira

with a vba macro I populated a table, the size of this table is variable in
each execute this macro.

and with this table I create pivot table, Database functions, but
How to use all resources with all data?

suggestions and examples
thanks

Marina
 
R

Roger Govier

Hi Marina

Create a dynamic named range for your data.
Insert>Name>Define>Mydata Refers to =OFFSET($A$1,0,0,COUNTA(A:A),10)
The above example would create a range which contained as many rows as
are present in column A, and the would be 10 columns wide.
Change the formula as appropriate to your data location.

Then in the Pivot Table, where it asks for data range, enter =Mydata.
 

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