cancel
Showing results for 
Search instead for 
Did you mean: 
Data Engineering
Join discussions on data engineering best practices, architectures, and optimization strategies within the Databricks Community. Exchange insights and solutions with fellow data engineers.
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)

Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!