Pivot Table Creation Macro

  • I'm realtively new to using Macros. I've searched high and low, but found only two relavant sights pertaining to my problem:

    1) http://support.microsoft.com/kb/940166
    2) http://social.answers.microsof…4f-4e87-be75-af468b97ae69
    My code is still failing though. I'm highlighting (red writing) where it fails. I'm also including the original piece of code that represents how I would like it too look ideally (I've included piece I used to do debugging. Said code has a lot of superfluous junk for troubleshooting).

    Please help...and, Thank you ahead of time.



    And this is ideally what I'd like it to look like (main difference in Green)




    BTW, The error I'm getting is the '1004': Application-defined or Object-defined error.

    Thanks again.

Participate now!

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