Hi
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I am looking to run a macro in a remote file across a network WITHOUT OPENING THE FILE which will create a sub-set of the data (say employee) eventually importing into a Reporting Hub. This will be from multiple data sources, basically the dashboard would be will be too large to keep importing all data and then filtering and subsequently only showing the limited employee data, if you see what I mean.
<o></o>
i.e. KPI_Data_Source.xls has 60,000 rows (across 20 columns) of data for many employees.
This file has a macro (exportdata) that will filter the correct employee and export the subs-set of 500 rows of data to a KPI Exported Data.xls file.
<o></o>
KPI Dashboard Reporting Hub.xls has nothing more than a results worksheet which imports the small file and NOT the large 60,000 row data file.
<o></o>
I want to be able to have the Dashboard import say only one employees data of 500 rows at any one time.
So, the intention is I select the employee in the dashboard and run a macro in the large data file KPI_Data_Source.xls which creates a KPI Exported Data.xls with only 500 rows and then import those into the dashboard for display (effectively a pseudo drill down).
<o></o>
THE PROBLEM : I have coded up the solution thinking the exportdata macro will simply be run using the following :
In the KPI Dashboard Reporting Hub.xls<o></o>
<o></o>
BUT the source data file is opened when I run the remote macro code. ULIMATELY this means dragging the large data file across the network. Kind of self defeating really. L
<o></o>
Any way round this ? or any ideas ?
Many thanks in advance for your input. Kuldip
<?xml:namespace prefix = o ns = "urn:schemas-microsoft-comfficeffice" /><o></o>
I am looking to run a macro in a remote file across a network WITHOUT OPENING THE FILE which will create a sub-set of the data (say employee) eventually importing into a Reporting Hub. This will be from multiple data sources, basically the dashboard would be will be too large to keep importing all data and then filtering and subsequently only showing the limited employee data, if you see what I mean.
<o></o>
i.e. KPI_Data_Source.xls has 60,000 rows (across 20 columns) of data for many employees.
This file has a macro (exportdata) that will filter the correct employee and export the subs-set of 500 rows of data to a KPI Exported Data.xls file.
<o></o>
KPI Dashboard Reporting Hub.xls has nothing more than a results worksheet which imports the small file and NOT the large 60,000 row data file.
<o></o>
I want to be able to have the Dashboard import say only one employees data of 500 rows at any one time.
So, the intention is I select the employee in the dashboard and run a macro in the large data file KPI_Data_Source.xls which creates a KPI Exported Data.xls with only 500 rows and then import those into the dashboard for display (effectively a pseudo drill down).
<o></o>
THE PROBLEM : I have coded up the solution thinking the exportdata macro will simply be run using the following :
In the KPI Dashboard Reporting Hub.xls<o></o>
Code:
Application.Run “KPI_Data_Source.xls!exportdata”
BUT the source data file is opened when I run the remote macro code. ULIMATELY this means dragging the large data file across the network. Kind of self defeating really. L
<o></o>
Any way round this ? or any ideas ?
Many thanks in advance for your input. Kuldip