Macro Runs only from VBA Editor. Returns 400 Error when attempt to run from Excel.

  • I have a macro that inserts formulas, fills down, and copies and pastes as value.


    It executes perfectly when run form inside the VBA editor.


    I receive a 400 error when I try to run from Excel.


    Here is the code.


  • Re: Macro Runs only from VBA Editor. Returns 400 Error when attempt to run from Exce


    How exactly are you running the code in the UI?


    BTW, it would be more efficient to use a MATCH formula in an adjacent column, then 9 INDEX formulas, rather than lookup up the same values over and over again.

    Rory
    Theory is when you know something, but it doesn’t work. Practice is when something works, but you don’t know why. Programmers combine theory and practice: nothing works and they don’t know why

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!