Convert from a table to range

571202

New Member
Joined
May 26, 2019
Messages
47
Office Version
  1. 365
Platform
  1. Windows
Is it possible in the power query editor to convert a table to a range.

My source data must start as a table so I can't just convert that.

I have 20 sheets in the one workbook and I don't want to have to change them all to ranges individually.

Thanks in advance, cheers Cobber
 

Excel Facts

Ambidextrous Undo
Undo last command with Ctrl+Z or Alt+Backspace. If you use the Undo icon in the QAT, open the drop-down arrow to undo up to 100 steps.
How about this...

VBA Code:
Sub clrTbl()
    Dim wss As Object: Set wss = Worksheets
    Dim ws As Worksheet, tbl As ListObject
    For Each ws In wss
        For Each tbl In ws.ListObjects
            tbl.Unlist
        Next
    Next
End Sub
 
Upvote 0
Hi @igold Thanks for your quick answer.

That's a macro outside power query I assume. So I could use that but is there a way of converting from a table to a range in the power query editor?

Cheers, Cobber
 
Upvote 0
You're welcome. My bad for not noticing that it was a Power Query question. I am not fluent with the power query editor. Thanks for the feedback!
 
Upvote 0
No worries....if I don't get an answer I'll use your code, cheers.
 
Upvote 0

Forum statistics

Threads
1,223,997
Messages
6,175,874
Members
452,679
Latest member
darryl47nopra

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top