+ Reply to Thread
Results 1 to 11 of 11

If order amount specified on product line list, pull line information to purchase order

  1. #1
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    If order amount specified on product line list, pull line information to purchase order

    Hello.

    I cannot figure out the formula/macro to do this. Apparently I do not deserve my Microsoft Office Specialist certification!

    I have two sheets in an excel workbook. The first is a product line, the second is a purchase order. If I enter an amount needed to be ordered in the first column of the product line, Id like the information to automatically fill in on the purchase order.

    I also need to be able add items to the product line in this workbook without it affecting the formula/macro, and to do the same thing throughout multiple other Excel workbooks. Much appreciated.

    -JeffreyPurchase Order - Design Hardware (Template).xlsx

  2. #2
    Valued Forum Contributor
    Join Date
    03-17-2012
    Location
    Warsaw, Poland
    MS-Off Ver
    2007/2010
    Posts
    555

    Re: If order amount specified on product line list, pull line information to purchase orde

    will you run this macro once for each workbook (lets say at the end of every day), or do you plan on doing it as you go(with each purchase that you enter to the first sheet?).

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: If order amount specified on product line list, pull line information to purchase orde

    put this in your worksheet event. I guess that makes me a newbie since I don't have a MS Office Specialist certification

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If order amount specified on product line list, pull line information to purchase orde

    Quote Originally Posted by Bishonen View Post
    will you run this macro once for each workbook (lets say at the end of every day), or do you plan on doing it as you go(with each purchase that you enter to the first sheet?).

    Every time we purchase, I will open the template and "Save As" a new document. That way the original is always in tact.

  5. #5
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If order amount specified on product line list, pull line information to purchase orde

    Thanks! Works like a charm!

    Quote Originally Posted by JieJenn View Post
    put this in your worksheet event. I guess that makes me a newbie since I don't have a MS Office Specialist certification

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If order amount specified on product line list, pull line information to purchase orde

    OK one more question... Now I am trying to add a simple sum formula to the Purchase Order to get total cost of goods being ordered. I also need to add freight charges, etc. in the space below the purchase order. Every time I enter it and go back to the product line, the formulas and text disappear. Help? I am no good with macros....

  7. #7
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: If order amount specified on product line list, pull line information to purchase orde

    Post a sample file with description.

  8. #8
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If order amount specified on product line list, pull line information to purchase orde

    Purchase Order - Design Hardware (Template).xlsm

    With macro in place throughout outlined cells, I need to be able to make changes below on the purchase order. They disappear whenever I go to product line and change "To Order" quantities.

  9. #9
    Registered User
    Join Date
    09-27-2012
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    11

    Re: If order amount specified on product line list, pull line information to purchase orde

    Quote Originally Posted by JieJenn View Post
    Post a sample file with description.

    Any luck? Still trying to mess around with it to no avail....

  10. #10
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: If order amount specified on product line list, pull line information to purchase orde

    I have a job and lunch hour.

  11. #11
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: If order amount specified on product line list, pull line information to purchase orde

    adjust your range. This line will clear the content in the PO worksheet whenever you make enter a qty in column A

    Worksheets("Purchase Order").Range("A5:F40").ClearContents

+ 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