MS Query is available but not working in Excel after a recent update to office

Anonymous
2024-04-17T19:36:53+00:00

I have updated my options by going to File/Options/Data and marking the flag "from Microsoft Query Legacy". However when I select the legacy options under Data/Get Data/Legacy Wizards, MS Query is in the list however it's grayed out. When I select the grayed out option, Excel goes into a wait state and nothing happens. I cannot figure out how to have the option enabled so it works.

I also don't have the option for "from Microsoft Query" in my "all commands" when trying to customize the ribbon.

As a alternative attempt at solving the issue, I completely reinstalled office, uninstalled using the command prompt application SaRACmd, deleting the cache folders, deleting registry keys, etc. I attempted to completely remove office from my computer. I reinstalled and have the same issue as described above.

So the issue is how do I get the MS Query app enabled again? I did find the executable for MS query and can run a query standalone but cannot send the results directly to Excel. Please advise. Thanks.

Microsoft 365 and Office | Excel | For business | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

18 answers

Sort by: Most helpful
  1. Anonymous
    2024-08-15T18:56:34+00:00

    This is not a fix, I have multiple users and that is not a viable option, I found if you switch to another user login then switch back it will work again.

    While this is a fix either it's easier then creating another user account...

    0 comments No comments
  2. Anonymous
    2024-08-19T15:49:24+00:00

    I have tried all of the above options to no avail. MSQuery still does not work.

    1 person found this answer helpful.
    0 comments No comments
  3. Anonymous
    2024-08-19T16:19:49+00:00

    Thanks but that is not my problem, Msquery is available but when I click it excel freezes and I have to close excel.

    1 person found this answer helpful.
    0 comments No comments
  4. Anonymous
    2024-09-04T08:33:33+00:00

    Ok I have finally figured out the issue as my new profile started playing up again .

    It is actually to do with OneDrive and the Microsoft Sharepoint task . C:\Program Files\Microsoft OneDrive\24.166.0818.0002 is the version I have .

    If you go into Task Manager whilet excel is hanging and Kill this task it MS Query will work again .

    Yes it is a workaround , but atleast I have narrowed down the offending program .

    0 comments No comments
  5. Anonymous
    2024-09-04T13:49:18+00:00

    Thanks Adam - impressive find. Appreciate the feedback.

    0 comments No comments