Hi,
I'm having a bit of a problem with a function.
I want to get data from several files copied into 1 file, but I want the actual locations/files/tabs in the file that copies the data.
If I do something simple as:
In cell:
In VBA:
Its actually works
But what I want is:
In cell:
In VBA:
^Fails
^Results in having the filelocations in the cells.
I just cant seem to get it to work, unless I use 'indirect' in the formula, but that means I have to open the other files, which I dont want to do.
Interesting thing is, I can easilly do this in a regular macro, but I seem to fail at getting it done from a function.
Some help in getting to the point I can get the data from the sourcefile while using the filelocations in the destination file would really be apreciated.
Bookmarks