web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

New Excel Extract formatting is behaving strangely

(0) ShareShare
ReportReport
Posted on by

Hey everyone I have a quick question about CRM 2015 update 1:

I just pulled a data extract of one of our entities and it exported it into a table format. This is fine, but any time I try and manipulate the sheet (Copy and paste or make a new worksheet) I get a "This command cannot be used on multiple selections" error. There are no irregular cells selected (Usually just the entire sheet). So is there anyway to format the export as a regular excel sheet instead of the table or a way to get around this error?

*This post is locked for comments

I have the same question (0)
  • Verified answer
    flavia.takushi Profile Picture
    on at

    Hi Mattlore,

    This is a known issue.

    You should be able to work around the issue by saving the file locally, then closing and re-opening the file.

  • steveplatz Profile Picture
    on at

    Is there an estimated date when this will be fixed or addressed?

  • flavia.takushi Profile Picture
    on at

    Hi Steve/Mattlare,

    Unfortunately there is no estimated date.

    However I`ve been testing recently and found 2 easy ways to manipulate the sheet (copy, paste, etc). Please check if any of these work for you:

    There are 2 workarounds:

    - Save the file and reopen it.

    - Another way is to click to export the report and once it is opened in excel, do NOT click 'enable editing' in the alert “Protected View. Be careful – files from the Internet can contain viruses. Unless you need to edit, it`s safer to stay in Protected view”.

  • steveplatz Profile Picture
    on at

    Thank you for the response, Flavia. What was interesting yesterday when I tried to help a user troubleshoot this is that the second scenario you laid out worked, but only when I was in control of the computer via Skype for Business. Whenever my user tried the *exact* same thing, she would get the "This command cannot be used on multiple selections" message.

  • Alan Smith Profile Picture
    on at

    Flavia and others;

        We are also seeing this issue in our "non-update 1" CRM Online (version info today is (7.0.2.45) (DB 7.0.2.45). This is a real pain point for our users now. Because the Excel worksheet is also formatted as an Excel table, that restricts some operations from happening.

        Hoping for a fix soon.

  • Community Member Profile Picture
    on at

    I agree this is a real pain.  99% of the time I don't want to re-import I just want to download the data to my machine, not on-line, and work on it. What were MSFT thinking?  I don't want it formatted as a table, I don't want data validation and I don't want hidden columns and worksheets.  I created a quick excel macro to undo all this rubbish. Add a keyboard shortcut of your choice and it makes reverting to something more usable an easy step.  Use at your own discretion / risk but it works fine for me.

    Sub ConvertCRMExport()

    '

    'CRM 2015 Update 1 changes Excel Download to a formatted table in a .xlsx sheet which also contains hidden columns and hidden worksheets

    ' to allow re-import none of which are needed for normal data manipulation i.e. 99% of the time

    '

    'This macro converts the table back to a range, removes table formatting, removes data validation,

    ' deletes the three unwanted columns and the hidden worksheet

    ' It finally saves, closes and reopens the workbook so that the copy and paste multiple selection bug is overcome.

    '

    '

    '

    Dim crmList As Range

    Dim Tgt As Workbook

    Dim TgtPath As String

    On Error GoTo ErrHandle

       ActiveWorkbook.Worksheets("hiddenSheet").Visible = xlSheetVisible

       For Each n In ActiveWorkbook.Worksheets("hiddenSheet").UsedRange.Cells

           n.Value = ""

       Next

       Application.ScreenUpdating = False

       Application.DisplayAlerts = False

       ActiveWorkbook.Worksheets("hiddenSheet").Delete

       With ActiveSheet.ListObjects("Table1")

           Set crmList = .Range

           .Unlist

       End With

       With crmList

           .Interior.ColorIndex = xlColorIndexNone

           .Font.ColorIndex = xlColorIndexAutomatic

           .Borders.LineStyle = xlLineStyleNone

       End With

       With ActiveSheet

           .Columns("A:C").EntireColumn.Delete

           .Cells.Validation.Delete

        End With

       Set Tgt = ActiveWorkbook

       TgtPath = Tgt.FullName

       Tgt.Save

       Tgt.Close

       Application.DisplayAlerts = True

       Application.ScreenUpdating = True

       Workbooks.Open TgtPath

    Exit Sub

    ErrHandle:

       Application.DisplayAlerts = True

       MsgBox "An Unexpected Error has occurred."

    End Sub

  • Alan Smith Profile Picture
    on at

    Thanks to Xtrema for the Excel macro to cleanup the spreadsheets now produced by CRM 2015.

    [quote user="Mattlore"]

    Hey everyone I have a quick question about CRM 2015 update 1:

    I just pulled a data extract of one of our entities and it exported it into a table format. This is fine, but any time I try and manipulate the sheet (Copy and paste or make a new worksheet) I get a "This command cannot be used on multiple selections" error. There are no irregular cells selected (Usually just the entire sheet). So is there anyway to format the export as a regular excel sheet instead of the table or a way to get around this error?

    [/quote]

  • Community Member Profile Picture
    on at

    This is an example of losing sight of the original purpose of a function. What should be a simple bullet-proof activity has been buried by the complexities of re-import. Ive spent most of the day trying to figure out how to stop this, encountering numerous "you can now re-import, isn't that clever?" blogs. It is clever, but breaking the simple export is not clever at all. I cant think I'd ever want someone to be able to stomp all over the entity fields with an excel spreadsheet except building a demo. This should be reverted at least have as an option. NB, this is the same in CRM 2016.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans