+ Reply to Thread
Results 1 to 9 of 9

Purchase order Macro

  1. #1
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Purchase order Macro

    Hi Guys

    I have a purchase order ( see attached ) that i would really like to automate.

    When i click the macro button at the bottom
    i would like the purchase order sheet to save as PDF to this location - C:\Users\ST\Glazing Team Folder\Purchase orders

    I would also like the sheet to generate the po number, company, date, description into the sheet "purchase order numbers" so it gives me a brief description of where they have gone

    and lastly one macro has been clicked is it possible to then give it the next number ready for the next time and then save and close?

    any help would be gratefully received

    Steve
    Attached Files Attached Files

  2. #2
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Purchase order Macro

    Hi swfarm

    Can give this a go...
    Please Login or Register  to view this content.
    Good Luck...
    I don't presume to know what I am doing, however, just like you, I too started somewhere...
    One-day, One-problem at a time!!!
    If you feel I have helped, please click on the [★ Add Reputation] to left of post window...
    Also....Add a comment if you like!!!!
    And remember...Mark Thread as Solved...
    Excel Forum Rocks!!!

  3. #3
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: Purchase order Macro

    Hi Sintek

    Thank you for your reply
    Just going to try this out
    Last edited by swfarm; 07-18-2017 at 06:02 AM.

  4. #4
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Purchase order Macro

    Works fine my side...Are you using the file you uploaded?
    Is it pop up that just says "400" in it with a red circle that has a white "X" through it?

    Edited....Your previous post mentioned something about a error 400???
    Last edited by Sintek; 07-18-2017 at 06:07 AM.

  5. #5
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: Purchase order Macro

    sintek

    that is fabulous
    if i could change one thing i would like to change how it saves the filename and not sure how to do this

    i would like it to save as "PO" then the number then the supplier

    rather than

    POName = .Range("B16") & "-" & .Range("K12")

    which is suppler and just the number on its own

    thank you so much

  6. #6
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: Purchase order Macro

    resolved that Sintek as i had changed the destination folder and needed to update that in the code

  7. #7
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Purchase order Macro

    Please Login or Register  to view this content.

  8. #8
    Forum Contributor
    Join Date
    02-18-2014
    Location
    United Kingdom
    MS-Off Ver
    Excel 2010
    Posts
    356

    Re: Purchase order Macro

    superb thank you so much

  9. #9
    Forum Guru Sintek's Avatar
    Join Date
    12-04-2015
    Location
    Cape Town
    MS-Off Ver
    2013 | 2019 | 2021
    Posts
    14,958

    Re: Purchase order Macro

    Glad i could help. tx for rep +

+ 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. [SOLVED] Populate my Purchase order from a list of Purchase Order numbers and their details
    By Carolbell44 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-11-2015, 07:14 AM
  2. Replies: 8
    Last Post: 04-06-2015, 11:44 AM
  3. Macro Reqd to update Purchase order log, everytime a new purchase order is made
    By manthankanabar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-23-2012, 01:47 AM
  4. Replies: 2
    Last Post: 10-11-2011, 08:03 AM
  5. macro to produce purchase order data
    By stevesunfold in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 10-18-2008, 12:49 PM
  6. require macro or code for purchase order to do the following:
    By jatman in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 08-11-2006, 01:10 AM
  7. [SOLVED] purchase order counter in excel purchase order template
    By Brandy@baoco in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-23-2005, 03:06 PM

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