advanced reference question reworded

C

Chad

Ok I have a cell that references a workbook titled June Sales.xls and one
cell that references July Sales.xls Is there a way to write a macro that
would check all formulas for any month and replaces it with the current
month. So that if I ran the macro today both the cells above would end up
referencing February Sales.xls?
 
J

JBeaucaire

One thing to remember, though, INDIRECT doesn't work with closed workbooks.
They will need to be open.

If you must work with closed workbooks, there is an addin called MOREFUNC
and it includes a replacement function called INDIRECT.EXT() that works on
closed workbooks.

You can download it from here:
http://www.download.com/Morefunc/3000-2077_4-10423159.html

Install it, then click on TOOLS > ADDINS and activate MOREFUNC.

You can read up on using the various functions here:
http://xcell05.free.fr/morefunc/english/#Functions
 

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