Forum Discussion

WiraYusoff's avatar
WiraYusoff
New Member
6 years ago
Solved

Update Basic Authentication Credentials with VBA Macro

Hi all,

 

Is there a way to update a data source's credentials (basic authentication) using a macro?

I would like to have a form where the user enters their username and password, and then pass the credentials to the data source. Rather than having the user click the Power Query ribbon -> Data Source Settings -> [Data Source] -> Edit -> Edit -> enter credentials -> Save -> Done -> Done.

 

I'm connecting to SAP HANA database and I need to pass the excel file to other users to run using their own credential once I'm done configuring the excel. 

 

Regards

1 Reply