VBA to match value in one column to another and paste adjacent value

  • Re: VBA to match value in one column to another and paste adjacent value


    The first three stations worked perfectly (it added the two values for WITN, which is awesome), but it had an error when it to WVLT--a station that is not listed in column O.


    Run-time error '91':
    Object variable or With block variable not set

  • Re: VBA to match value in one column to another and paste adjacent value


    Yes, previous code was changed too quickly, see next one


    Triumph without peril brings no glory: Just try

  • Re: VBA to match value in one column to another and paste adjacent value


    :thumbcoo: That worked perfectly!! Thank you so much. I know you put a great amount of time into this, and I really appreciate it!

  • Re: VBA to match value in one column to another and paste adjacent value


    Are we really done ....?
    Did you do enough tests ...?
    I'm please it is working now, yes it was a long trip.

    Triumph without peril brings no glory: Just try

  • Re: VBA to match value in one column to another and paste adjacent value


    I just ran it in a test file that was a duplicate of the report I did manually this morning and it worked perfectly. I cannot tell you how much time this is going to save me! Thanks again.

Participate now!

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