Hi,
I am positive that someone can provide help on my requirement.
Currently I am having around 50+ files in one single directory and would like to import only those files which are in present in the Excel Worksheets using VBA.
For example:
My files are in C:\Exceldump directory
Master Excel sheet name : MasterSheet.xls
Worksheets in MasterSheet.xls are: Sales, Mkt, Dist, Logist
Files which are present in the directory are: Mkt.xls, Dist.xls, Logist.xls, Airp.xls, Sims.xls, Sales.xls
Since only Sales, Mkt, Dist & Logist are in the worksheet, the VBA should be able to pick only these 4 files and import it.
Import Rule:
Since the first 9 columns (A to I) for every worksheet is having formula, the import vba should only start putting the values from Column J.
Urgent help is highly appreciated.
I am positive that someone can provide help on my requirement.
Currently I am having around 50+ files in one single directory and would like to import only those files which are in present in the Excel Worksheets using VBA.
For example:
My files are in C:\Exceldump directory
Master Excel sheet name : MasterSheet.xls
Worksheets in MasterSheet.xls are: Sales, Mkt, Dist, Logist
Files which are present in the directory are: Mkt.xls, Dist.xls, Logist.xls, Airp.xls, Sims.xls, Sales.xls
Since only Sales, Mkt, Dist & Logist are in the worksheet, the VBA should be able to pick only these 4 files and import it.
Import Rule:
Since the first 9 columns (A to I) for every worksheet is having formula, the import vba should only start putting the values from Column J.
Urgent help is highly appreciated.