+ Reply to Thread
Results 1 to 3 of 3

Macro to transfer rest of data to next column on Purchase Order Form?

  1. #1
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Macro to transfer rest of data to next column on Purchase Order Form?

    Need a Macro to transfer the rest of the inventory data to the next column (O) when the first column (F) is filled up on the Purchase Order Form. Also, need it to end all transfers once column (O) is filled up on the Purchase Order Form so that it doesn't continuee off the form page. Thanks!
    Attached Files Attached Files
    Last edited by ElmerFud; 10-11-2011 at 08:15 AM.

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Macro to transfer rest of data to next column on Purchase Order Form?

    A few changes here and there to the sheet....

    The DATE field at the top used a formula that would change everytime the sheet updated. In my opinion, that's bad. The DATE field should only update when you want it to. So moved your formula over to AA1, then put a Data Validation onto J2 that used AA1 as a source, so you can click on in it and select the current time stamp anytime you want. In the future, if you reopen a saved sheet, that date would not change unless you updated with the drop down again.

    I moved the TOTAL out of the form to below it so the macro wouldn't need two completely different end points, too. The macro will warn you anytime the form is filled.
    Attached Files Attached Files
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    08-24-2011
    Location
    Virginia
    MS-Off Ver
    Excel 2007
    Posts
    78

    Re: Macro to transfer rest of data to next column on Purchase Order Form?

    Thank you very much, that's perfect!

+ 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