Hassan
You have apparently all account numbers listed on the main sheet.
I'd suggest to list sheet names next to each account number. Consider for example the following data:
{12,"Sheet1";13,"Sheet2"}
occupying the range A1:B2. The numbers stand for account numbers and names for sheets where they can be found. (In your case, this would become A1:B200).
I'd use the followin formula to collect the balance associated with an account number:
in C1 enter: =INDIRECT(B1&"!"&"C49")
Copy down this for all account numbers.
Aladin
That would be practical if the sheets were named sheet1, sheet2, etc..
However, each sheet has a unique name
Attention Macro Wizards -- Hasan needs one that collects all sheet names of a wb in one place! (NT)
Yeah, right.
If you down load this utility, it is option from
ASAP Utilities -- Information -- List all sheet names.
It opens a new file, but you could cut and paste it to your sheet.
good luck
http://www.asaputilities.com/