+ Reply to Thread
Results 1 to 8 of 8

inventory update macro will stop on empty row and out of sequence produce id entry

  1. #1
    Registered User
    Join Date
    10-09-2016
    Location
    los angeles
    MS-Off Ver
    2016
    Posts
    7

    inventory update macro will stop on empty row and out of sequence produce id entry

    couple problems with this macro: A) random Product ID entry on invoice will stop the macro from running after the first inventory update. Product must be listed on the invoice in the same order as iit's listed on the product sheet.
    B) Macro stops on empty row.

    I need this macro to run regardless of entry order and ignore empty cell and run to the last row.
    I have very limited VBA skill, I would really appreciate any help.
    Thank you.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by 6StringJazzer; 10-12-2016 at 12:03 PM.

  2. #2
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    This routine updates every filled line in invoice by seeking (Product ID) in the inventory. Give it a try
    Please Login or Register  to view this content.
    [/CODE]

  3. #3
    Registered User
    Join Date
    10-09-2016
    Location
    los angeles
    MS-Off Ver
    2016
    Posts
    7

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    WOW! you da man. that works great. I guess there's no way around the empty cell issue. Thank you so much for your time.

  4. #4
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    This version will allow blank lines in between.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    10-09-2016
    Location
    los angeles
    MS-Off Ver
    2016
    Posts
    7

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    RCM, thank you very much!

  6. #6
    Forum Expert
    Join Date
    11-28-2012
    Location
    Guatemala
    MS-Off Ver
    Excel 2010
    Posts
    2,394

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    You are welcome. Please take time to mark this thread as solved

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,757

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    xntdriver, your post does not comply with Rule 3 of our Forum Rules: Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I have added them because you are a new member but in the future, please include them or your thread will be locked until it's resolved.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  8. #8
    Registered User
    Join Date
    10-09-2016
    Location
    los angeles
    MS-Off Ver
    2016
    Posts
    7

    Re: inventory update macro will stop on empty row and out of sequence produce id entry

    I will adhere to all rules. Sorry about that.

+ 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. How do you fill a series of cell references and skip four to produce a sequence
    By john dalton in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 12-02-2014, 07:25 AM
  2. [SOLVED] Need a macro that will stop autofill once it finds an empty cell (row).
    By SCACCHIA in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-31-2014, 06:02 PM
  3. Inventory Update Macro
    By timms1030 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-26-2014, 05:38 PM
  4. Inventory Update Macro
    By Fredbugatti in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-09-2014, 03:42 AM
  5. I need to stop the loop to an empty cell on this email generating macro
    By Neowise25 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-27-2014, 04:38 PM
  6. Macro to INSERT a STRING in SEQUENCE or as the LAST entry
    By JamesGoulding85 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 12-20-2013, 09:04 AM
  7. Stop update formulas when macro starts then update when complete
    By ruperupe in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-17-2012, 02:42 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