+ Reply to Thread
Results 1 to 6 of 6

How to transfer data from mutliple tabs to one main tab

  1. #1
    Registered User
    Join Date
    06-25-2014
    Location
    Gatineau, Quebec
    MS-Off Ver
    excel 2007
    Posts
    4

    How to transfer data from mutliple tabs to one main tab

    Hello everyone,

    I'm new to excel, so far I've been hacking away with Excel and been doing fine, but what I need now is a bit to complexe for me. could anyone help me please?

    I have an Excel worksheet with multiple tabs (13) called:
    (ABCB,ACQUISITIONS,DO,FIN_AND_ADMIN,HR,CIOB,IS,LS,PPB,PPCB,RPB,TB)
    they are all different Branches at the government were I work and I also have one other tab called (Details)

    Each week or so I get info from the different branches that I enter in it's respective Tab starting at range A6 to J6 and when I get new info I add it on the next available line A7 to J7 etc...

    What I'm looking to do is to automate via a VB code or Macro (if possible) so that as soon as I enter one informtion in any of the branches tab, it automaticaly copies the info in my (details) tab starting at line A9 to J9 and so on.

    is this possible????? Ok, I'm sure that anything is possible in Excel with the right Excel guru....but I'm far from that..

    thank you so much

    Brian

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: How to transfer data from mutliple tabs to one main tab

    Hi, welcome to the forum

    This might be easier (using regular formulas) if you has 1 sheet for all data, and then broke that out to the various sheets?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-25-2014
    Location
    Gatineau, Quebec
    MS-Off Ver
    excel 2007
    Posts
    4

    Re: How to transfer data from mutliple tabs to one main tab

    Actually, this was what I had in mind initially, but even by using the regular formulas, I was not able to find the right one.

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,956

    Re: How to transfer data from mutliple tabs to one main tab

    Well if thats an option you are considering, I can help with that. Do you have a small (clean) sample workbook you can upload?

  5. #5
    Registered User
    Join Date
    06-25-2014
    Location
    Gatineau, Quebec
    MS-Off Ver
    excel 2007
    Posts
    4

    Re: How to transfer data from mutliple tabs to one main tab

    Ok here is my sample workbook, were in th details tab I have my information that I'd like to transfer ''automatically'' to the associated tab whenever I input a new set of data in the details tab.

    Do you see the attachment? I hope i did this ok

  6. #6
    Registered User
    Join Date
    06-25-2014
    Location
    Gatineau, Quebec
    MS-Off Ver
    excel 2007
    Posts
    4

    Re: How to transfer data from mutliple tabs to one main tab

    Hello again,

    I was able to dig up this VBA code, that I think can do what i need, but I need I think it's missing something, but can't find what:

    Private Sub Worksheet_Change(ByVal Target As Range)
    Dim LR As Long
    LR = Range("B" & Rows.Count).End(xlUp).Row
    If Target.Count > 1 Then Exit Sub
    If Target.Row < 11 Then Exit Sub
    If Target.Column <> 10 Then Exit Sub
    If Target.Value = "Complete" Then
    Target.EntireRow.Copy _
    Sheets(Target.Offset(, -5).Value).Range("A" & Sheets(Target.Offset(, -5).Value).Cells(Rows.Count, 1).End(xlUp).Row + 1)
    End If
    With Sheets("details")
    .Range ("B6:K" & LR), Header:=xlNo, Order1:=xlDescending
    End With
    End Sub

    if someone can help me out, That would be awsome

    Brian

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 8
    Last Post: 03-01-2013, 02:34 AM
  2. Replies: 1
    Last Post: 10-16-2012, 10:59 AM
  3. Transfer data from main page to individual tabs
    By BadExcelHeadache in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-02-2012, 09:26 AM
  4. Pulling data from mutliple windows, and pasting the data in worksheets/tabs
    By msu4life in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-27-2012, 07:01 PM
  5. Macro to transfer data from main sheet to sub sheets
    By sandbach in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 11-02-2010, 05:42 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1