Good day
I am looking for a way to pass a username and API key to PowerQuery from registry information via VBA. I don't want the information to necessarily be contained in a cell on a sheet because I would like to restrict functionality to a user's PC.
Any thoughts on how I can pass the variable / parameter from the registry or from a VBA variable to PowerQuery?
As a POC, I do currently have the information in a hidden cell on a sheet and PowerQuery reads it with:
= Excel.CurrentWorkbook(){[Name="username"]}[Content]{0}[Column1]
Much appreciated.