Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8766839
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T16:39:02+00:00 2026-06-13T16:39:02+00:00

I have created ssis package to loda data from excel to database. My problem

  • 0

I have created ssis package to loda data from excel to database. My problem is Those excel files proteced with password( I know the password) at the minute i am removing password mannually. Is there any way to automate in ssis, Because i have 200 excel files.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T16:39:03+00:00Added an answer on June 13, 2026 at 4:39 pm

    This may or may not work based on your company’s security policy (or monitoring thereof), but you could write a quick macro that opens all 200 files and saves them in a temp “unprotected” directory without a password. Then run your SSIS script, and when that completes, delete all 200 files (with a secure deleter such as Eraser)

    Sub ManagePWords()
    
    Dim f(1 To 200) As Variant
    Dim i As Integer
    Dim origpath As String, temppath As String
    Dim wb As Excel.Workbook
    
       origpath = "c:\where_files_are_now\"
       temppath = "c:\where_files_are_now\unprotected\"
    
       f(1) = Array("filename1", "password1")
       f(2) = Array("filename2", "password2")
       'keep going for all 200 files
    
       For i = 1 To UBound(f)
          Set wb = Application.Workbooks.Open(origpath & f(i)(0), , , , f(i)(1))
          wb.SaveAs temppath & f(i)(0) & ".xlsx", , ""
          wb.Close
       Next i
    
    End Sub
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created ssis package that is taking data from excel file and insert
I Have Created SSIS package which selects data from Source DB and Inserts it
I have an SSIS 2008 package that reads data from an Access database (OLEDB
I have created a (SSIS) package which contains SQL procedures for transfer of data
I have a very simple SSIS package where I take data from a view
I have an SSIS package that exports data from a table on a SQL
I have created an SSIS package i took 'excel source' taking excel file but
I have created one SSIS package from flat file I'm getting one price value.
I created SSIS package. I have a Data Flow Task in here, where I
Our team has created a SSIS Package that imports data from an Oracle Source

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.