+ Reply to Thread
Results 1 to 10 of 10

Moving cells from different sheets to one

  1. #1
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Moving cells from different sheets to one

    Hi everyone.

    I faced with a problem. I need to make an auto moving cells.

    If there is any information on sheet "1", it automatically appears on sheet "main"

    Nothing complex at this moment, but I need the information to be copied from 3 different sheets to one "main" and to keep an cells in order.

    I attached a file with

    sheet "1", "2", "3" - from where the info is taken
    Sheet "main" - where the info must appear

    There some more explanations about it in the file.

    I would be very grateful for your help.
    Attached Files Attached Files

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Moving cells from different sheets to one

    How will the code identify which words have come from sheet 1 or 2 or 3? There is no identifier in your Main sheet.

  3. #3
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Moving cells from different sheets to one

    Quote Originally Posted by arlu1201 View Post
    How will the code identify which words have come from sheet 1 or 2 or 3? There is no identifier in your Main sheet.
    It have to look whether it is something in sheet 1 if it is, then add when nothing is left to add, it looks whether there is some thing to add from sheet 3, if not then add nothing, if there is some info, it adds this info and finally when finished with sheet 1 and 2 it goes to look whether sheet 3 has some information in particular cells and again if there is info it adds if no then nothing appears.

    Is it possible?

  4. #4
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Moving cells from different sheets to one

    No, what i asked was - in the main sheet, how will the code identify where it has to insert the row? How will it know that it has to go to row 42 and copy the new entry below it for sheet 2? There is no column identifying that the row came from sheet 2.

  5. #5
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Moving cells from different sheets to one

    It doesn't matter, no particular raw is needed, just copy everything from sheet1 2 and 3.

    The information on sheet 1 2 and 3 will change from time to time and there are no limitations for main sheet. For example on sheet 1 it can be only 5 rows, but on sheet 2 - 67 rows and on 3rd one - 19 rows.

    On the main sheet it will fill

    5 rows from sheet1
    67 rows from sheet 2
    19 rows from sheet 3

    without any blank cells, one after another.

  6. #6
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Moving cells from different sheets to one

    Quote Originally Posted by arlu1201 View Post
    No, what i asked was - in the main sheet, how will the code identify where it has to insert the row? How will it know that it has to go to row 42 and copy the new entry below it for sheet 2? There is no column identifying that the row came from sheet 2.
    Is it possible ?

  7. #7
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Talking Re: Moving cells from different sheets to one

    Any help would be appreciated

  8. #8
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Moving cells from different sheets to one

    Will a button on each sheet work which will copy the data over to the main sheet?

  9. #9
    Registered User
    Join Date
    10-29-2011
    Location
    London
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Moving cells from different sheets to one

    Quote Originally Posted by arlu1201 View Post
    Will a button on each sheet work which will copy the data over to the main sheet?
    yes well on the sheet "main" I will not write anything, just print. Sheet 1 2 and 3 will be modified.

  10. #10
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Moving cells from different sheets to one

    Sorry for the delay. Was out of station for a few days.
    Try this code -
    Please Login or Register  to view this content.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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