Can you change a source in power query for excel?

Mr_Phil

Board Regular
Joined
May 28, 2018
Messages
150
Office Version
  1. 365
Hello I am taking baby steps to learn power query. The big project for me is to do in power query what I used to do via the macro recorder. I have a query with the source a sheet in another workbook. I copied the sheet to my new workbook but I don't know how to change my source from:

Power Query:
let
    Source = Excel.Workbook(File.Contents("C:\Users\phillip.gwinn\My Drive\SCORECARDS\Copy of RA SCORECARD WORKSHEET.xlsm"), null, true),
    FEEDBACK_Sheet = Source{[Item="FEEDBACK",Kind="Sheet"]}[Data],

Just the feedback sheet which is now in the same workbook as the query.

If this is any easy fix I appreciate the help. If it is complicated I would appreciate advice on a tutorial or website where I can work on learning what is needed. No matter what, thank you for your time reading this.
 

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
If your data is in the current workbook and you wish to bring in a table/range, then here is the Mcode

Power Query:
   Source = Excel.CurrentWorkbook(){[Name="Table1"]}[Content]
 
Upvote 0

Forum statistics

Threads
1,224,812
Messages
6,181,104
Members
453,021
Latest member
Justyna P

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