Change the CSV source in power query

Omer_K

Board Regular
Joined
Apr 9, 2017
Messages
124
Office Version
  1. 365
Hello everyone,
I have a Power Query that pulls the data from a CSV file
I would like to know how to create a VBA code that when I run it will open a window of changing the CSV file (including refreshing the data) ..
Suppose my query name is TEST

Thank you :)
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Any One?
I think this post should be in Excel Questions
Because I need VBA code
 
Upvote 0
I probably did not explain myself correctly ..
I would like to know that if I click on a button (Probably the button linked to a VBA command) and it will open me 'open window' and I can change the CSV file,
ANy Ideas?
 
Upvote 0
See if this helps, Celia Alves goes the next step by writing some VBA to run a File Picker.
 
Upvote 0

Forum statistics

Threads
1,223,684
Messages
6,173,826
Members
452,535
Latest member
berdex

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