power query code for fetching the data.

Excel Facts

Select a hidden cell
Somehide hide payroll data in column G? Press F5. Type G1. Enter. Look in formula bar while you arrow down through G.
What exactly do you mean by "just selecting or changing the date"?
 
Upvote 0
Sir, by changing the date from the pop up that data is to be come in excel TAB.
1666495454983.png
 
Upvote 0
Power Query will not be able to access the chosen date unless it is stored in a cell in your sheet.
 
Upvote 0
Power Query will not be able to access the chosen date unless it is stored in a cell in your sheet.
iiii
1666513752346.png

sir this is different file i am getting by this process
this is a code for link
and second code is for getting date.
1666513883875.png
 
Upvote 0
I'm afraid I can't understand your process well enough to be of much help. Maybe replace the "& Date()" section in the Source with a hardcoded value to see if that changes anything.
 
Upvote 0
It is a syntax error in the code and is also indicated in the error message. To fix the error you reported above, remove the unnecessary closing parenthesis after the .csv" in the first line.

1666538778667.png


I don't see any custom Date() function in your code, so it might still fail but this syntax error must be fixed first in order to get to the second step.
 
Upvote 0
Solution

Forum statistics

Threads
1,215,785
Messages
6,126,890
Members
449,347
Latest member
Macro_learner

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