+ Reply to Thread
Results 1 to 12 of 12

first sheet column "E" value copy to second sheet column "I"

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post first sheet column "E" value copy to second sheet column "I"

    what this macro doing is ,after enter values to second sheet column "F" it's matching with first sheet("order history") column "M" & picking data to second sheet.

    Please Login or Register  to view this content.
    at the moment this macro coping first sheet column D,H,F,G,I,C values to second sheet A,B,C,D,E,H.

    my requirement is same like others,first sheet column "E" value need to copy to second sheet column "I" ,if first sheet column "E" is empty then same row column "H" value i want to copy to column "I".pls add this modification to this macro.thanks in advance.
    Last edited by johncena; 04-17-2012 at 10:01 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    Try this:

    Please Login or Register  to view this content.
    Regards,
    Khaled Elshaer
    www.BIMcentre.com

    Remember To Do the Following....
    1. Thank those who have helped you by clicking the Star below their post.
    2. Mark your post SOLVED if it has been answered satisfactorily:
    • Select Thread Tools (on top of your 1st post)
    • Select Mark this thread as Solved

  3. #3
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: first sheet column "E" value copy to second sheet column "I"

    Kelshaer@ thanks a lot for your code.column"E" it's coping correctly & column "H" it's not coping.i have attached sample sheet here.pls check it.thanks in advance..
    Attached Files Attached Files
    Last edited by johncena; 04-17-2012 at 03:14 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    Try this

    Please Login or Register  to view this content.

  5. #5
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: first sheet column "E" value copy to second sheet column "I"

    Kelshaer@ thanks a million it's work very well.REP+
    I have small problem with below code.can u pls edit your macro to run with any sheet.because i have to run this code with 3 sheet.
    Set osh = ThisWorkbook.Worksheets("Day")
    Last edited by johncena; 04-17-2012 at 09:30 AM.

  6. #6
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    Ok Let me see it

  7. #7
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    Here you Go. It will work with the active sheet

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: first sheet column "E" value copy to second sheet column "I"

    I have checked but not work.pls check this..
    Attached Files Attached Files

  9. #9
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    I cant figure out where in you summary code do you call the Movedata sub!
    Anyway, Try this one and let me know

    Please Login or Register  to view this content.

  10. #10
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: first sheet column "E" value copy to second sheet column "I"

    thanks a lot friend.it's work.my problem is if i add new sheet this code not work.i don't have a VB knowledge & pls tell me the reasons.

  11. #11
    Valued Forum Contributor
    Join Date
    08-29-2011
    Location
    Mississauga, CANADA
    MS-Off Ver
    Excel 2010
    Posts
    503

    Re: first sheet column "E" value copy to second sheet column "I"

    Try this:

    Please Login or Register  to view this content.

  12. #12
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: first sheet column "E" value copy to second sheet column "I"

    Kelshaer@ thanks a lot friend.now everything ok.thanks a lot again.. :D

+ 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