Excel.CurrentWorkbook() doesn't show Excel table – why?

Anonymous
2025-02-27T10:55:05+00:00

The documentation on Power Query's Excel.CurrentWorkbook function claims: "It returns tables, named ranges, and dynamic arrays."

I created a test workbook, containing just a single Excel table. When I call Power Query's "Excel.CurrentWorkbook()" function, nothing is returned:

Why?

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
Answer accepted by question author
  1. Andreas Killer 144K Reputation points Volunteer Moderator
    2025-02-27T12:30:31+00:00

    CurrentWorkbook means the file where the query is located in, that does not mean the active workbook.

    I guess from your screenshot that your query is in "Mappe1" where the table is in "Mappe2".

    Andreas.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful