+ Reply to Thread
Results 1 to 4 of 4

Adding data to multiple tabs

  1. #1
    Registered User
    Join Date
    12-22-2016
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    16

    Adding data to multiple tabs

    Hi All,

    I have a macro that takes data from a data input sheet and adds it to a data sheet. They now want instead of one data sheet for everyone separate ones per person.

    The code I have for this is SetDataWS= ThisWorkbook.Sheets("PartsData") (Partsdata is the data sheet we copy and paste the info from the input sheet.

    Instead of going to Partsdata I would like it to go to the tab of the relevant person. we input who undertook the task in cell E7. Each one of the people have there own tabs.

    So for example if it was for Jane it would go to Janes tab and if it was for Bob it would go to Bobs tab.

    Any ideas how this could be done. Thanks

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Adding data to multiple tabs

    Your explanation is sort of sketchy but I think you want this:

    Please Login or Register  to view this content.
    I assumed that the name in E7 is the same as the name of the worksheet (tab).

    You said E7 but didn't say what sheet it was in. I assumed it was in PartsData, but if not then just change the sheet name above to match.

    (ThisWorkbook is OK but not required. All references are assumed to be in ThisWorkbook.)
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    12-22-2016
    Location
    Leeds
    MS-Off Ver
    Excel 2010
    Posts
    16

    Re: Adding data to multiple tabs

    Hi 6stringjazzer,

    Sorry for the sketchy explanation.

    I hope this might be clearer, please let me know if you need anything else.

    We have one tab called input, in the input tab they fill the form in and then we have a button that adds it to a master data sheet called partsdata. which we use the SetDataWS= ThisWorkbook.Sheets("PartsData") to state the tab name

    We now want to move away from this and have the data stored separately.

    The below is how we would like it to work if possible.

    For the user to carry on filling it out in the input tab, but now when they click the add button we want it to add the data to the tab relevant tab name based on the name they fill in on E7 on the input tab.

    For example if they go into the input tab and put joe in cell E7 the data would be copied to Joe's tab and not the partsdata tab.

    Thanks again for your help with this its much appreciated.

    Thanks

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,721

    Re: Adding data to multiple tabs

    In that case maybe this:

    Please Login or Register  to view this content.

+ 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. [SOLVED] VBA code to merge multiple sheet with multiple tabs into one workbook in different tabs
    By Jagdev in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 02-06-2015, 07:42 AM
  2. [SOLVED] summing multiple sub-tabs where each sub tabs row data is not the same
    By waternut in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-11-2014, 01:44 PM
  3. Adding up dates from multiple tabs
    By rmagrino in forum Excel General
    Replies: 4
    Last Post: 05-22-2014, 04:13 PM
  4. Replies: 2
    Last Post: 04-06-2012, 02:42 PM
  5. Adding across multiple tabs
    By TWent in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-21-2010, 05:31 PM
  6. Adding Cells from Multiple Tabs
    By tux4ever in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-04-2008, 12:21 AM
  7. How to sum data from multiple tabs WITHOUT adding tab by tab?
    By jim_0068 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-03-2007, 12:02 AM

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