cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
cancel
Showing results for 
Search instead for 
Did you mean: 

Reading Password protected excel(.xlsx) file in databricks

RajibRajib_Mand
New Contributor III

I want to read password protected excel file and load the data delta table.Can you pleas let me know how this can be achieved in databricks?

2 REPLIES 2

3vikram
New Contributor II

looks like no answer to this?

igorsalo22
New Contributor II

df = spark.read.format("com.crealytics.spark.excel")\

  .option("dataAddress", "'Base'!A1")\

  .option("header", "true")\

  .option("workbookPassword", "test")\

  .load("test.xlsx")

display(df)

Welcome to Databricks Community: Lets learn, network and celebrate together

Join our fast-growing data practitioner and expert community of 80K+ members, ready to discover, help and collaborate together while making meaningful connections. 

Click here to register and join today! 

Engage in exciting technical discussions, join a group with your peers and meet our Featured Members.