+ Reply to Thread
Results 1 to 2 of 2

Excel 2013 issues with Worksheet Protect in VBA

  1. #1
    Registered User
    Join Date
    04-05-2013
    Location
    Greenville, SC
    MS-Off Ver
    Excel 2007/2010
    Posts
    3

    Excel 2013 issues with Worksheet Protect in VBA

    Hey all,

    I'm running into a very frustrating issue with an Excel file my company uses. This is a multi-worksheet, heavily macroed/VBAed, tool my company uses. I currently develop/manage it with Excel 2007.

    In the Workbook_Active() event I protect several sheets with a password. If an Excel 2013 user opens the file, the password protect works properly. If they then save and send that file to an Excel 2010 user, the Workbook_Activate() event fires, the worksheet.protect method attempts to (re)protect the sheet and subsequently generates an error that the provided password is not correct.

    It appears that just by opening and saving the file in Excel 2013 that the password used to protect the worksheets gets "changed"

    Here's the crazy part. If the 2010 user who gets the error sends me the file, it opens just fine in 2007.

    I know there is a different encryption algorithm in use in worksheet protection in Excel 2013, but I'm a little baffled why I don't see the problem with the file on my system, but the 2010 user does.

    Has anyone seen anything similar?

  2. #2
    Registered User
    Join Date
    04-05-2013
    Location
    Greenville, SC
    MS-Off Ver
    Excel 2007/2010
    Posts
    3

    Re: Excel 2013 issues with Worksheet Protect in VBA

    I've attached a stripped down version of what the big sheet does. This has been opened and saved under Excel 2013. Excel 2010 users opening this file will probably see an error that the password is not correct. Excel 2007 (and 2013) should see no issues.

    And go...
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Excel 2013 Custom View Issues
    By Caedmonball19 in forum Excel General
    Replies: 1
    Last Post: 06-04-2013, 02:35 PM
  2. Link Excel 2013 to Word 2013
    By drosen99 in forum Word Formatting & General
    Replies: 20
    Last Post: 02-26-2013, 08:20 PM
  3. [SOLVED] Date and Time issues in Excel 2013
    By sjsmith in forum Excel General
    Replies: 1
    Last Post: 01-15-2013, 03:28 PM
  4. Replies: 2
    Last Post: 11-04-2012, 04:57 AM
  5. [SOLVED] Passwords Disappear in OpenOffice (Protect Worksheet, and Protect Workbook)
    By msnews.microsoft.com in forum Excel General
    Replies: 6
    Last Post: 12-27-2005, 04:20 AM

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