Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

mamangent reporter excel export - blank sheets

Posted on by 4,150

hi folks

In management reporter if a level in my reporting tree has no data that level of the tree is not available in the MR viewer to drill do / or is visible.

When you export that report to excel however you get blank sheets for that level of the tree that has no data.

Is there a way to not export those blank sheets to Excel?

*This post is locked for comments

  • Verified answer
    Ian Richardson Profile Picture
    Ian Richardson 4,150 on at
    RE: mamangent reporter excel export - blank sheets

    the internet geeks of the world at

    windowssecrets.com/.../159777-moving-blank-tabs

    wrote me a macro that will move the blank sheets to the end of the workbook.

    sharing for other MR users (or the other 20 people that voted yes to the product enhancement

    Option Explicit

    Sub MoveBlankSheets()

     Dim iShtCount As Integer

     Dim i As Integer

     iShtCount = Worksheets.Count

     For i = iShtCount To 1 Step -1

       If Application.WorksheetFunction. _

         CountA(Worksheets(i).Rows("4:" & Worksheets(i).Rows.Count)) = 0 Then

         Worksheets(i).Move after:=Worksheets(iShtCount)

       End If

     Next

    End Sub

  • Ian Richardson Profile Picture
    Ian Richardson 4,150 on at
    RE: mamangent reporter excel export - blank sheets

    I took the vote to 21.  looks like an older request.

    And also one that looks like it may not be an enhancement given the comment posted against the suggestion:

    Posted by Microsoft on 9/21/2012 at 10:32 AM

    Correction from previous response. This is actually a support issue and not a feature request. Please work with Microsoft support to report this issue.

    Best regards.

    This posting is provided "AS IS" with no warranties, and confers no rights.

  • Greg Byer Profile Picture
    Greg Byer 2,586 on at
    RE: mamangent reporter excel export - blank sheets

    Hi Ian,

    There is a suggestion for this.  You can view the suggestion and vote on it here:

    connect.microsoft.com/.../suppress-no-data-tabs-when-exporting-to-excel

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans