simple task with macro, but not catching right spots

Posted on 2012-08-16
Last Modified: 2012-10-16
I recorded a macro and set it to use relative ref. ,but it seams to be using exact addresses. I want to use the macro on several sheets, so I don't think I want the sheet name in the macro. See attached.  Thanks.
Question by:dnewman33
    LVL 39

    Expert Comment

    You need to load as an xlsm file if you want us to see the macro. Or you can post the code.

    LVL 92

    Expert Comment

    by:Patrick Matthews
    Be nice to this guy, he's family :)
    LVL 39

    Expert Comment

    Come on Patrick, did I go zorvek on him?

    LVL 92

    Accepted Solution


    If what you really want to do is make the row labels repeat in the PivotTable, this can be done without a macro if you are using Excel 2010 or later.  If you right-click in the row labels area and select Field Settings, go to the Layout & Print tab on the Field Settings dialog.  Check the box for Repeat Item Labels.

    If that is not what you wanted, or if you are using Excel 2007 or earlier, then please post the code you recorded (or re-post the file as an xlsm), as Thomas suggested.


    <aside to Thomas: :) >

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    Join & Write a Comment

    A high-level exploration of how our ever-increasing access to information has changed the way we do our jobs.
    This article describes how to use the timestamp of existing data in a database to allow Tableau to calculate the prior work day instead of relying on case statements or if statements to calculate the days of the week.
    XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    20 Experts available now in Live!

    Get 1:1 Help Now