1 min readfrom Microsoft Excel | Help & Support with your Formula, Macro, and VBA problems | A Reddit Community

Power Query, trying to use a CELL("filepath") function to create dynamic source reference for other tables so I can send this file to other people

I've been trying for days to figure this out. I made a worksheet with one table named "File Path" and one entry with the formula =LEFT(CELL("filename"),FIND("]",CELL("filename"))) to give the current path to the workbook.

I have read that I can somehow add this as a parameter in Power Query, then reference this parameter in the source code for other tables in the workbook. I've tried to follow the various instructions I found, but so far no luck in getting the value from the cell into the parameter.

Any advice or help is greatly appreciated.

https://preview.redd.it/3s3rn1a35qjg1.png?width=958&format=png&auto=webp&s=b10d07308ccd6053e96939b7ea839e263d750879

https://preview.redd.it/olhbl2a35qjg1.png?width=1435&format=png&auto=webp&s=658105c86361088c8aeb5a2f2204a5c9740a7f7f

submitted by /u/TangoDeltaFoxtrot
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article