Good evening all,
I have the following situation:
From a data base I retrieve data (with sql statements) which I convert into a pivot table. This proces I do in a vba programme in a constant flow (data from different suppliers of goods to our company).
The output is a number of Excel files (same number as suppliers).
However, each file contains a different range of data, ie number of lines.
Which VBA command can I use to tell the pivot table what the data range is???
If I do this in each file by hand I use (with my cursor in a data cell of the pivot table) "Options", and then "other data source", in order to catch all the basic data for the pivot table.
Please help!!
Thanks in advance from a cold Holland
I have the following situation:
From a data base I retrieve data (with sql statements) which I convert into a pivot table. This proces I do in a vba programme in a constant flow (data from different suppliers of goods to our company).
The output is a number of Excel files (same number as suppliers).
However, each file contains a different range of data, ie number of lines.
Which VBA command can I use to tell the pivot table what the data range is???
If I do this in each file by hand I use (with my cursor in a data cell of the pivot table) "Options", and then "other data source", in order to catch all the basic data for the pivot table.
Please help!!
Thanks in advance from a cold Holland