Can not use query edit and parameter in Excel of office365

Anonymous
2017-04-12T07:12:57+00:00

Hi,

can you please advise why I can not edit query and parameter? thanks.

Regards

Steven

Microsoft 365 and Office | Excel | For home | 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
Answer accepted by question author
  1. Anonymous
    2017-04-20T13:57:54+00:00

    Hi Steven,

    Glad to hear that you found a workaround.  I’d like to write a summary to help other members easily see the information.

    Issue description:

    1. Using an OLE DB Query, the Edit Query button is greyed out.
    2. Using an OLE DB Query, entering a query that uses a question mark (?) as a parameter on the Command text shows an error indicating you need to set the parameter.

    Solution:

    1. If you are using an OLE DB Query, you can change the query via the Command text area. The Edit Query button is available if you are using a Microsoft Query.
    2. If you are using an OLE DB Query, it is not feasible to enter a question mark (?) as a parameter. As a workaround, you can use a Microsoft Query. You can then set the parameter using a question mark (?) in the Command text area.

    Thanks,

    Sheen

    4 people found this answer helpful.
    0 comments No comments

11 additional answers

Sort by: Most helpful
  1. Anonymous
    2017-04-17T00:12:20+00:00

    Hi Linda,

    here is the version, all worksheet have save issue.

    I am guessing, is it caused by office365 subscription?

    Regards

    Steven

    [Product ID is masked by Yoga Yao MSFT Support]

    0 comments No comments
  2. Anonymous
    2017-04-17T07:44:34+00:00

    Hi Steven,

    We would like to get your Office version, so that we can check it from our side in the same version. Please go to File> Account> Product Information, and capture a screenshot about the product information.

    Regards,

    Yoga

    0 comments No comments
  3. Anonymous
    2017-04-17T07:51:10+00:00

    Hi Yogoa,

    here is the version,

    Regards

    Steven

    0 comments No comments
  4. Anonymous
    2017-04-18T11:16:08+00:00

    Hi Steven,

    You can use the 'Edit Query' button to edit the query for MS Query type connections. I.e. those that you have started using the 'From other data sources > Microsoft Query' option. Such queries show 'Database query' at the top of the definition tab.

    If you choose the 'Other data sources > SQL Server' option, you have to edit the query in the 'command text' box below the connection string box. You can't edit the query using MS query. that is why the 'Edit Query' button is disabled.

    Regards,

    Sheen

    0 comments No comments