Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50038

User Defined function to extract information from closed file

$
0
0
Hi,

Herewith I attached a sample excel file.

Structure file which i attached herewith include all the cost center details. normally it is a big file contain more than 1000 cost center details.
Structure File.xlsx
If i want a cost center name for some cost center code, i have to open this file and find a specific name.

What i plan is develop a macro function called "CC".

If I type =CC("D232") I need to print cost center name for D232.

But the problem is i don't want to open the structure file, without open that file, when i type this function i need a result.

This is not only for me... if if i write this it will be helpful for entire team....

Thanks in advance.
Janagan

Viewing all articles
Browse latest Browse all 50038

Trending Articles