Getting data from closed files with concatenate formula
Posted
by
Pav
on Super User
See other posts from Super User
or by Pav
Published on 2014-01-29T10:55:37Z
Indexed on
2014/06/05
21:30 UTC
Read the original article
Hit count: 202
Each day a program is creating an excel file for me with some data for the current day. Like what is the price for products, how many people are available today and things like that.
Based on all this I need to make some forecasts and workplace allocations for workers. The problem is, that I need to drag all this information manually all the time. So to make it automatic I placed the formula in cells like:
='c:\ABC\[ABC 29-01-14.xlsx]sheet'!a1
Everything works fine, but next day I have to change file name for "ABC 30-01-14
" for each cell, what is the same as entering the data manually.
So I used "concatenate
" formula to change date according to today's date automatically.
I used "indirect
" formula to turn it in to a real formula, not text string, and realized that it is working only for open files, not closed.
Is there any way to do this for closed files without VBA, because I don't know it, or with VBA but explained for an idiot.
© Super User or respective owner