+ Reply to Thread
Results 1 to 4 of 4

Event Triggering When Specific type of information is entered into Shipping Schedule

  1. #1
    Registered User
    Join Date
    03-01-2012
    Location
    Lonsdale, Minnesota
    MS-Off Ver
    Excel 2010
    Posts
    3

    Event Triggering When Specific type of information is entered into Shipping Schedule

    Hi all, I am brand new to this forum and have a problem I think you guys would be able to answer.

    Ok, so I am looking for some VBA code (or function) to do the following in my (tentative) shipping schedule:

    A) When I enter a new shipment in the project column, with its shipment date in the ship column, I want it to automatically create 2 more entries at later dates (also in project column and date column), because shipments are always done in 3 different trucks.

    B) These new entries need to be in different colors. So first entry (the one I manually type in) will be in Green

    C) The second and automatically (macro) added entry should be 46 days after the first entry and have the same project, notes, and cpm info, but needs to be in blue font and instead of saying truck 1 trellis and exterior, it needs to say truck 2 trim and beams.

    D) The third and last automatically added entry should be 81 days after the first entry and have the same project, notes, and cpm info as whatever i manually typed, but needs to be in yellow font and instead of saying truck 1 or 2, it needs to say truck 3 cabinets.

    I realize that the format of the spreadsheet needs work, so if you feel so inclined, go ahead and add rows, headers, or whatever so that each months area is the same size, etc.

    Also, it may not be necessary, but you might need to have the shipping date be in mm/dd/yyyy format instead of 28-Feb format, which is perfectly fine.Attachment 144106

    Thanks for all your help you guys!
    Cheers,
    Siddhartha Owens
    2011 tentative shipping schedule Macro.xlsm

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    13,019

    Re: Event Triggering When Specific type of information is entered into Shipping Sched

    @siddowens123:

    It seems that you have misunderstood to goals and purpose of the forum. This is not a development agency.
    Please do not post your design specifications and wait for unpaid volunteers to complete your assigned tasks.
    Your attachment contains zero formulas nor any attempt at a macro to accomplish your tasks.

    Rule # 1. Use concise, accurate thread titles. Your post title should describe your problem, not your anticipated solution. Use terms appropriate to a Google search. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will be addressed according to the OP's experience in the forum: If you have less than 10 posts, expect (and respond to) a request to change your thread title. If you have 10 or more posts, expect your post to be locked, so you can start a new thread with an appropriate title.

    Want to get your question answered quickly?
    Ensure your question is not too vague. Don't assume anyone is familiar with your problem. While you can upload small attachments, describe your problem in the body of the post. We are fortunate to have several Excel gurus, but few mind-readers.
    On the other hand, skip irrelevant details. Be descriptive and concise. Short, direct, and to-the-point questions with apt thread titles are almost always answered promptly.
    Keep the scope reasonably narrow. Questions like, "How do I set up an accounting system in Excel?" might be a long time waiting.
    Explain what you've already tried. ("Calculation is set to automatic, but formulas still don't compute") so helpers don't waste your time or theirs.
    Ben Van Johnson

  3. #3
    Forum Expert p24leclerc's Avatar
    Join Date
    07-05-2010
    Location
    Québec
    MS-Off Ver
    Excel 2021
    Posts
    2,081

    Re: Event Triggering When Specific type of information is entered into Shipping Sched

    Hi, look at the attached file and see if it suits your needs.
    Remark that program is adding new lines to the sheet in order to be sure not to overwrite anything.
    See comment in VBA for possible modifications.
    Regards
    Attached Files Attached Files

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

    Re: Event Triggering When Specific type of information is entered into Shipping Sched

    SOrry... wrong thread.
    _________________
    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!)

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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