+ Reply to Thread
Results 1 to 11 of 11

Macro to pull data from sheet1 to sheet2

  1. #1
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Macro to pull data from sheet1 to sheet2

    Hi freinds,

    Attached is excel file.

    Sheet1 contains raw data (which needs to be arrange in sheet2)
    Sheet2 contains final output (Output will reflect correspondent data from sheet1)

    Any macro or formula will be very help full.

    Thanks for your views.....and time.
    Attached Files Attached Files
    Last edited by rupss01; 12-11-2011 at 02:28 AM.

  2. #2
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to pull data from sheet1 to sheet2

    hi rupss01, please check attachment, run code "test"

    Please Login or Register  to view this content.
    Attached Files Attached Files

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to pull data from sheet1 to sheet2

    if assume that three row address will look like rows 1-12 sample of the attachment, it might be done like this

    Please Login or Register  to view this content.
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Macro to pull data from sheet1 to sheet2

    @watersev...the code works perfects...thanks for your prompt response.

    One query can i pull more than 100 data @ time

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to pull data from sheet1 to sheet2

    the code has no such limitation provided the layout will be the same

  6. #6
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to pull data from sheet1 to sheet2

    if you are happy with the solution provided, please mark the thread as Solved under Forum rules:

    If your problem is solved, please say so clearly, and mark your thread as Solved: Click the Edit button on your first post in the thread, Click Go Advanced, select [SOLVED] from the Prefix dropdown, then click Save Changes. If more than two days have elapsed, the Edit button will not appear -- ask a moderator to mark it.

  7. #7
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Macro to pull data from sheet1 to sheet2

    @watersev

    Bro can you please check attached file as well, while running macro getting Runtime Error 13 - Type mismatch

    Unable to pull more than 12 data...

    Surely will follow your's instruction.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Macro to pull data from sheet1 to sheet2

    @watersev

    Also some instance Runtime Error 9- Subscript out of Range

  9. #9
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Macro to pull data from sheet1 to sheet2

    Also some instance Runtime Error 9- Subscript out of Range

  10. #10
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Macro to pull data from sheet1 to sheet2

    The example provided originally has not been representative. You have cases without address at all, without end part etc. Try this option, press Start on Sheet 2
    Attached Files Attached Files
    Last edited by watersev; 12-10-2011 at 09:29 PM.

  11. #11
    Registered User
    Join Date
    03-25-2011
    Location
    India
    MS-Off Ver
    Excel 2003
    Posts
    43

    Re: Macro to pull data from sheet1 to sheet2

    @watersev

    thanx a lot for your time and efforts ...instruction followed

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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