+ Reply to Thread
Results 1 to 3 of 3

Excel 2007 Compatability Issue

  1. #1
    Registered User
    Join Date
    10-23-2008
    Location
    Sacramento
    Posts
    2

    Excel 2007 Compatability Issue

    I have a marco I wrote in Excel 2003 that still works there, but no longer functions in 2007. This macro is embeded in a workbook and runs when the workbook opens. Essentially, it checks if a later version of the workbook is abailable and transfers the data from the "old" to the "new" workbook. There seem to be two hang-ups. Both the worksheet.unprotect and the workbook.save both throw a 1004 error when called in 2007. Anyone with similar experience? Any useful advice?

    Thanks,

    Dave

  2. #2
    Forum Expert Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2016/365
    Posts
    6,887
    David, welcome to the forum.

    Would you mind posting your full workbook_open module? Please remember to use CODE tags. Thanks.

  3. #3
    Registered User
    Join Date
    10-23-2008
    Location
    Sacramento
    Posts
    2

    The Code

    This is a snippet of the unprotect that does not work in 2007
    Please Login or Register  to view this content.
    This is the snippet of the save that does not work.

    Please Login or Register  to view this content.

+ 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