+ Reply to Thread
Results 1 to 2 of 2

Import of protected xls file into website + javascript to unprotect before start

  1. #1
    Registered User
    Join Date
    08-07-2009
    Location
    Prague
    MS-Off Ver
    Excel 2007
    Posts
    8

    Lightbulb Import of protected xls file into website + javascript to unprotect before start

    Guys,
    I have an online application where I need to upload excel file (imagine field for file path plus BROWSE button). There are some things to happen with the file once it is imported. However, excel files are protected and for the successful job, the file has to be unprotected (all sheets). The thing is I do not want let the users unprotect the file before actual import (they might screw up some elements). Do you think or do you know some javascript which I could implement in the website that the first step after importing the file will be unprotecting it and then the rest would continue?

    Thanks a lot!
    Trevi

  2. #2
    Forum Guru Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds
    MS-Off Ver
    365 Win 11
    Posts
    7,238

    Re: Import of protected xls file into website + javascript to unprotect before start

    This wouldn't be done in Javascript, it would be done in a server side language (c#, vb.net, java, php, ruby, python etc), there are libraries available for all the listed that allow interaction with Excel.

    Though I'm not sure that you would need to un-protect the sheets to read them as a database

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1