Closed Thread
Results 1 to 2 of 2

trying to write a vba code to determine materials required to meet 30 days of stock

  1. #1
    Registered User
    Join Date
    06-15-2021
    Location
    ontario
    MS-Off Ver
    ms office 2016
    Posts
    7

    trying to write a vba code to determine materials required to meet 30 days of stock

    need an excel macro vba code to auto calculate the "Requirement" to keep the days of stock at at least 30 days. For example, if the "days of stock" in july is >= 30 days then the "requirement" in june is 0 however if the "Days of Stock" is < 30 then the "requirement" in june should generate the material required to keep it at 30.

    Attached is the file and snapshot of my code so far, any assistance would be appreciated
    Attached Images Attached Images
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,980

    Re: trying to write a vba code to determine materials required to meet 30 days of stock

    Administrative Note:

    Welcome to the forum.

    Unfortunately, this is a duplicate thread, and you are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...-of-stock.html
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 06-15-2021, 06:42 PM
  2. Using old and new stock lists, determine stock used
    By raytexcel in forum Excel General
    Replies: 11
    Last Post: 08-26-2019, 11:19 AM
  3. Replies: 13
    Last Post: 01-04-2019, 10:05 AM
  4. Replies: 1
    Last Post: 04-24-2013, 08:53 PM
  5. Low stock and/or High Stock Formula required
    By SaleenaKhan in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-14-2013, 01:51 PM
  6. [SOLVED] Print array code for a series of pages that will also determine print area required?
    By matrixpom in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-04-2012, 11:46 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