+ Reply to Thread
Results 1 to 5 of 5

Edit Macro to Auto Populate Formula's

  1. #1
    Registered User
    Join Date
    09-20-2012
    Location
    La Crosse, WI
    MS-Off Ver
    Excel 2010
    Posts
    70

    Edit Macro to Auto Populate Formula's

    Hi All,

    currently i have a Macro that auto fills formulas in Columns AL and AO, it will only auto-fill these when there is data enter into Col A, which is exactly what i need it to do....so far this only works for "Die 1", I would need this to work for any Dies that are added (eg, Die 2 [AV and AY], Die 3 [BF and BI], etc...) the # of Dies will constantly be being updated (added or deleted, there will also be more than 3 dies at times), so is it possible to edit the Macro to auto-fill these formulas when there are more Dies and when Data is entered into Col A?
    Here is the formula Currently and the Document is also Attached for Reference...

    latest bom.xlsm

    Please Login or Register  to view this content.
    Regards,
    Cansa

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Edit Macro to Auto Populate Formula's

    Hi,
    try:
    Please Login or Register  to view this content.
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

  3. #3
    Registered User
    Join Date
    09-20-2012
    Location
    La Crosse, WI
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Edit Macro to Auto Populate Formula's

    Thank you TehneXus! That formula worked perfectly! I have one last issue with this document though.... is there a way to edit this formula, to only allow you to select the "Setup Die Table" button once? any time that the Macro has another prompt attempt after the first time its ran would need a Pop up Display saying "Die Tables are Only allowed on the Initial Setup", and the Macro should not be ran...I hope this makes sense. Please let me know if you need clarity.

    latest bom.xlsm

    here is the Macro,

    Please Login or Register  to view this content.
    Cansa

  4. #4
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: Edit Macro to Auto Populate Formula's

    Hi,

    to prevent an action to be done more than once write a value to a not visible cell when ran first, then check that cell. I've inserted a new sheet which is "Very Hidden", in A1 of this sheet the value "TRUE" will be written when the button is clicked, if you try to run it again it will stop you:
    latest bom.xlsm


    Regards

  5. #5
    Registered User
    Join Date
    09-20-2012
    Location
    La Crosse, WI
    MS-Off Ver
    Excel 2010
    Posts
    70

    Re: Edit Macro to Auto Populate Formula's

    Hi TehneXus,

    I figured i would bring this up to you since you know this document a bit from working on it and since you are one of the very few who know Macro Coding so well....I have a few tweaks that our Tooling Dept needs done for it..I was hoping that you might know how to adjust the Macro to meet these needs,

    There are columns that need to be inserted per Die on the BOM sheet, Col Q is labelled "1" for Die 1. We would also need Columns added for the Number of Dies entered (e.g. Col R labelled "2" [depending on the number of dies entered in B5 on the Input-Output Sheet...]).

    The Formulas in Col N on the Input-Output Sheet are not correlating to the Die Tables that are updated...All of the other formulas are correlating okay. (I'm hoping this would be an easy fix).

    Thirdly, I need to make sure that the Macro, and the Formulas still update properly, even after Columns are Added/inserted on the BOM sheet. So an issue for example, if i insert a column after Col A...then enter 5 Dies on the Input-Output Sheet and run my Macro, the formulas no longer correlate on their Die Tables...

    Your help is greatly valued!! Please let me know if you need any clarification on anything here....

    Best regards,
    Cansa

+ 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