updating summary worksheet

Dummy Excel

Well-known Member
Joined
Sep 21, 2005
Messages
994
Hi All,
I have a template summary spreadsheet. I would like to run a macro that will look for a particular file and if the date is within a certin range then update the template, otherwise dont update it.

Is this possible to do? all the spreadsheets are xls based

thanks
Samuel
 

Some videos you may like

Excel Facts

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

zzjasonzz

Well-known Member
Joined
Apr 23, 2006
Messages
649
Yes this is possible.. A couple of questions to consider..

Is the file the template is looking for always in the same place or should the user select it (via a file dialog box)

What is the format of both the template and the "particular file" (will the layout of the particular file change?)

If the date of what is within a certain range? todays date? is the date in the filename?
 

Dummy Excel

Well-known Member
Joined
Sep 21, 2005
Messages
994
1) all the files are all located in the same folder

2) the summary template is 1 wookbook with 10 tabs, and baiscally each tab represents one file from where the summary needs to get the data from - all files are in the same format

3) the date of teh 10 files is within a particular date range then open it and copy the data into the summary template
 

Watch MrExcel Video

Forum statistics

Threads
1,122,496
Messages
5,596,497
Members
414,072
Latest member
2020914

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top