Thank you very very much.

Its working.Thanx

 

From: ayush jain [mailto:jainayus...@gmail.com] 
Sent: Saturday, February 06, 2010 8:37 PM
To: excel-macros@googlegroups.com
Cc: matkarum...@gmail.com
Subject: Re: $$Excel-Macros$$ Please help - consolidate all shets in main
shet

 

Dear Umesh,

Attached is the solution. Please use the below macro to accomplish this
task.

Sub consolidate()

Dim c As Worksheet

i = 2

For Each c In ActiveWorkbook.Worksheets
    If c.Name <> "main " Then
        Sheets("main ").Range("B" & i).Value = c.Name
        Sheets("main ").Range("C" & i & ":" & "R" & i).Value =
c.Range("A43:P43").Value
    End If
i = i + 1
Next

End Sub

Let us know if any further help is required.

Best regards,
Ayush Jain

On Sat, Feb 6, 2010 at 7:18 PM, Umesh Matkar <matkarum...@gmail.com> wrote:

Dear friends(Excel masters),

Please help me ..

 

 

I have one excel file with 100+ sheet ..i want to consolidate data in 1st
main sheet (File contents are HR data ..emp codes, sal, pf details)

 

I want ..codes and total amount in front of code in main sheet.

 

 

Pls find attached example file.

 

Thanx in advance

Umesh Matkar

-- 
----------------------------------------------------------------------------
------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links :
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at
http://www.excelitems.com
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com

 
To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain @ jainayus...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!
 
We reach over 6,700 subscribers worldwide and receive many nice notes about
the learning and support from the group.Let friends and co-workers know they
can subscribe to group at
http://groups.google.com/group/excel-macros/subscribe

 

-- 
----------------------------------------------------------------------------------
Some important links for excel users:
1. Follow us on TWITTER for tips tricks and links : 
http://twitter.com/exceldailytip
2. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at 
http://www.excelitems.com
3. Excel tutorials at http://www.excel-macros.blogspot.com
4. Learn VBA Macros at http://www.quickvba.blogspot.com
5. Excel Tips and Tricks at http://exceldailytip.blogspot.com
 

To post to this group, send email to excel-macros@googlegroups.com
If you find any spam message in the group, please send an email to:
Ayush Jain  @ jainayus...@gmail.com
<><><><><><><><><><><><><><><><><><><><><><>
HELP US GROW !!

We reach over 6,700 subscribers worldwide and receive many nice notes about the 
learning and support from the group.Let friends and co-workers know they can 
subscribe to group at http://groups.google.com/group/excel-macros/subscribe

Reply via email to