+ Reply to Thread
Results 1 to 30 of 30

Consolidating text from multiple sheets into master - can you help?

  1. #1
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Consolidating text from multiple sheets into master - can you help?

    Hello all,
    I have a need to create a workbook with a master sheet that consolidates text from the sheets within the workbook. There are threads that answer this question for basic sheets but mine is complicated by the need for the sheets to be calendar based.

    The workbook is basically to be used as a marketing campaign consolidation and planning tool.

    Any help in making this possible is appreciated!
    Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Consolidating text from multiple sheets into master - can you help?

    Please fill some data in each sheets and show it in master sheet so that we will get a better understanding about your expected result


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Thanks Sixthsense, I have attached a copy with some text in it, just 5 examples but all consolidating in the master for the corresponding dates. There will be several days in the year where the master will sow days with actions from several of the campaign sheets.

    A new line would be required for each consolidated item on the same day in the master. Hope that makes more sense than my first attempt at explaining

    thanks
    Attached Files Attached Files

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Consolidating text from multiple sheets into master - can you help?

    Your all sheets seems to be in same format like the master sheet. Just confirm me whether I can blindly match the mater sheet cell with all sheet cells and show the output?

    Instead of matching the 1st column/Row headers?

  5. #5
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    yes the blind match can be made for all cells in all campaigns against the same cells in the master

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Consolidating text from multiple sheets into master - can you help?

    Try the below code....

    Please Login or Register  to view this content.

  7. #7
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    thank you I will give it a try!

  8. #8
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    sorry sixthsense, running the macro resulted in this error message:-

    Dim Ws As Worksheet, wMaster As Worksheet Dim iStCl As Integer, iEndCl As Integer Dim iStRw As Long, iEndRw As Long, i As Integer Dim rMyRng As Range, r As Range, vTemp As Variant

  9. #9
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Consolidating text from multiple sheets into master - can you help?

    If error occurs then click Debug and take the screen shot of the error line for fixing the error.

  10. #10
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    Here's my interpretation of your problem.
    Please Login or Register  to view this content.
    Attached Files Attached Files

  11. #11
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Here is screenshot, presume its the line in red
    campaign calendar.PNG

  12. #12
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Hi Jindon,
    I tried your version and received the following....
    break.PNG

  13. #13
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    Did you try the file I attached?

  14. #14
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Thanks Jindon it worked, I must have made an error in running?

    I note I have to run the macro after updating the campaign sheets, is that intended or should it update without having to do so?

  15. #15
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    If you want it to update altomatically then

    Add following code to "master" sheet module.
    Please Login or Register  to view this content.
    So that it will update every time you select "master" sheet.

  16. #16
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,788

    Re: Consolidating text from multiple sheets into master - can you help?

    Quote Originally Posted by CFWA View Post
    Here is screenshot, presume its the line in red
    Attachment 283559
    You have missed to copy the entire code which is provided in Post#6. Refer Post #6 code and your screenshot to fix it.

  17. #17
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Thanks, Im not sure if my version of excel is the same or Im just doing the wrong thing, can you upload one final version for me, apologies.

  18. #18
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    See attached.

  19. #19
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Jindon and sixthsense, thanks so much for your assistance! I wish I was so talented as a code writer!

  20. #20
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    CFWA

    If that takes care of your original question, please select Thread Tools from the menu and mark this thread as SOLVED. Thanks.

  21. #21
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    campaign calendar 2014.xlsmhello again, using the workbook we have discovered the need to enhance it further. Hoping someone can assist with the following, I have attached a copy of the working document which will help explain some of the additional fuctionality:-

    1. Months September - December are not consolidating in the master for any of the worksheets
    2. In the master it would be useful to display * before each entry to distinguish each entry on the day
    3. carry text formatting from each worksheet to master. eg if text is red in worksheet it shows as red in master
    4. insert the name of the worksheet in the master for each entry so that it looks like this for example * Appeals - xyz

  22. #22
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    Quote Originally Posted by CFWA View Post
    1. Months September - December are not consolidating in the master for any of the worksheets
    2. In the master it would be useful to display * before each entry to distinguish each entry on the day
    4. insert the name of the worksheet in the master for each entry so that it looks like this for example * Appeals - xyz
    Change
    Please Login or Register  to view this content.
    to
    Please Login or Register  to view this content.
    Quote Originally Posted by CFWA View Post
    3. carry text formatting from each worksheet to master. eg if text is red in worksheet it shows as red in master
    Change partial cell fonts attributes are too much work.

  23. #23
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    Thanks Jindon!

    Any takers of the carry text formatting from each worksheet to master. eg if text is red in worksheet it shows as red in master???

  24. #24
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    ok I have one last request

    I have attached the latest version of the sheet and thanks to Jindon the other items have now been incorporated.

    We have added a sheet called campaign calendar before the "master sheet". The campaign calendar will summarise the dates each campaign runs for. For example the first notation in the appeals sheet is on 17 March and the last is on 17 December.

    Code is required to extract the start and finish date for each campaign worksheet and block the cells from start to finish in the campaign calendar. The cells from A3 down will list the worksheets.campaign calendar 2014.xlsm

  25. #25
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    If this is not what you wanted, post a desired "campaign calendar" sheet after the macro.
    Please Login or Register  to view this content.

  26. #26
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    this is the result I got when running the macro..... not showing other entries....campaign calendar 2014.xlsm

  27. #27
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,834

    Re: Consolidating text from multiple sheets into master - can you help?

    Quote Originally Posted by jindon View Post
    If this is not what you wanted, post a desired "campaign calendar" sheet after the macro.
    .....................

  28. #28
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    sorry Jindon I'm not sure quite what you mean.

    for example on the appeals sheet the first entry occurs on 17 march and last on 17 december, however the campaign calendar does not show this entry as it does for 65 Roses.

    I was hoping for each worksheet date range to be shown in the campaign calendar.

  29. #29
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    can anyone else assist?

  30. #30
    Registered User
    Join Date
    12-06-2013
    Location
    Australia
    MS-Off Ver
    Excel 2003
    Posts
    17

    Re: Consolidating text from multiple sheets into master - can you help?

    I have another issue, it seems some unwanted text is appearing in the master sheet.
    error.PNG
    When I run the macro it advises there is a run time error error and the debugger reveals the following line as being the error:

    With .Offset(1).Resize(.Rows.Count - 2)

    and when I try to save the following error is revealed in the debugger.

    Application.Run Sheets("master").CodeName & ".worksheet_activate"

+ 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. Consolidating data from certain sheets in a master summary sheet
    By RoyLittle0 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-09-2013, 04:41 AM
  2. Consolidating a specific worksheet from multiple workbooks into one master
    By kikar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-28-2013, 11:22 AM
  3. Consolidating data from multiple workbooks into Master Workbook
    By zloywolf in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 09-14-2012, 10:26 AM
  4. Consolidating data on muliple sheets to master
    By Dylan&Hayden in forum Excel General
    Replies: 1
    Last Post: 07-16-2008, 11:10 PM
  5. [SOLVED] Multiple text sheets into a master worksheet as you enter data
    By Tribe Crazy in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-26-2006, 11:40 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