+ Reply to Thread
Results 1 to 9 of 9

packing update macro

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

    Post packing update macro

    Hi, here i have attached my sample sheet. first sheet is our company pending order list as per customer wise & send sheet is our daily production. different customers are requesting some times same product. but we are producing batch wise all together. in daily production sheet( sheet 2) column "A" has product name & column "G" has quantity. in pending order sheet(sheet 1) column "D" has same product name & column "J" has order quantity. so want is second sheet column "A" need to match with first sheet "D". if that values are matched then first sheet matching data rows need to delete base on second sheet column "G" value & first sheet column "J".

    ex- one product produce 540 & same product available in first sheet two places 100 & 250 then that both rows should delete( because produced more than order quantity's). if produce 540 & first sheet available 300 & 400 then first 300 row should delete & second 400 value should change to 160 (400-240)(because produced less than order quantity's).

    pls give me macro to do this, thanks in advance..
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: packing update macro

    Please Login or Register  to view this content.
    I think

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

    Re: packing update macro

    Quote Originally Posted by yudlugar View Post
    Please Login or Register  to view this content.
    I think
    thanks a lot fro your code, if produce more than order quantity's your code work fine. if order quantity are more & production is less then your code calculation is wrong.

    ex- produce 500 & first sheet available one place 520 & other place 300, then answer should be first 520 should change first 520 to 20 & other 300 should not change. pls help me..

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: packing update macro

    Try this:
    Please Login or Register  to view this content.

  5. #5
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: packing update macro

    as an option
    rows that need to be removed are highlighted in orange, and rows where the amount is reduced, highlighted in green
    Please Login or Register  to view this content.

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

    Re: packing update macro

    Quote Originally Posted by yudlugar View Post
    Try this:
    Please Login or Register  to view this content.
    sorry friend your code running without any error. but nothing happened. before code work fine but one result wrong. this not change anything..

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

    Re: packing update macro

    Quote Originally Posted by nilem View Post
    as an option
    rows that need to be removed are highlighted in orange, and rows where the amount is reduced, highlighted in green
    Please Login or Register  to view this content.
    thanks for your code. i want to remove complete data rows in first sheet. thanks..

  8. #8
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: packing update macro

    One more try:
    Please Login or Register  to view this content.

  9. #9
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: packing update macro

    Hi Johncena,
    try
    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. Packing list in excel
    By badboy4u in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-14-2012, 06:53 PM
  2. [SOLVED] I want to make a packing slip with macro enabled drop downs in the Item # column.
    By Legend Rubber in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 10-10-2012, 10:18 AM
  3. Packing List help
    By elpierro in forum Excel General
    Replies: 5
    Last Post: 06-26-2012, 10:24 PM
  4. Packing factor
    By Navneet in forum Excel Programming / VBA / Macros
    Replies: 20
    Last Post: 10-03-2010, 09:50 AM
  5. production report update from packing report.
    By johncena in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-22-2010, 07:37 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