+ Reply to Thread
Results 1 to 5 of 5

Sequential number plus save and clear macro

  1. #1
    Registered User
    Join Date
    04-03-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    8

    Sequential number plus save and clear macro

    Hi everyone

    Please can anybody help me with a macro that I can use in a purchase order template.

    I don't have a clue how to write one and its driving me crazy trying to find a way to do this.

    I have a template downloaded in excel with the search from Microsoft I think its Garamund Grey?

    I have edited the template to suit what I need but I need a way of making the numbers move on each time I make a new order plus clear the cells for the next order.

    I found a video on youtube but this doesn't work either, I copied the codes given exactly and changed the cell numbers but I just get error messages all the time.

    The cell I need the number in is "E5" and the cells I need to clear are "A20 to G30"

    Thanks in advance to anyone who can help out


    Rockhopper

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Sequential number plus save and clear macro

    Hi Rockhopper,

    Can you post a sample workbook - desensitized, of course Go to "Go Advanced" and click on the paper clip.
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Forum Expert
    Join Date
    12-14-2012
    Location
    London England
    MS-Off Ver
    MS 365 Office Suite.
    Posts
    8,448

    Re: Sequential number plus save and clear macro

    Make sure your master PO is called that "Master-PO"

    then this macro will do what you need:-


    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-03-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sequential number plus save and clear macro

    Thank you for this Mehmetcik I will try it out later and let you know if it works ok.

    Rockhopper

  5. #5
    Registered User
    Join Date
    04-03-2013
    Location
    london
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Sequential number plus save and clear macro

    I have tried everything that I have been able to find online including youtube videos, various macros and still I am not able to get an order to work.

    Surely it cant be so difficult, what am I doing wrong.

    I downloaded a microsoft template from the search bar in excel, "Garamond Grey" I have changed it to suit my needs and the relevant cell that I need the number in is E3.

    I also want to be able to save the order when done using the same number eg: 000001 then 000002 etc.

    Please can anyone help me out with this its driving me crazy and taking up far too much time.

    Regards rockhopper

+ 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. Need VBA/macro for Save & clear button
    By rajtar in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-25-2014, 07:34 AM
  2. Replies: 10
    Last Post: 10-30-2013, 07:29 PM
  3. Increment invoice number and clear/save
    By rjw29 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-23-2013, 03:21 PM
  4. Sequential Number macro
    By rhudgins in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-15-2010, 05:36 PM
  5. Save the File and Clear the Macro
    By tallguy6354 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-13-2009, 12:47 PM

Tags for this Thread

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