Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
|
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 6th, 2005, 05:35 AM
Authorized User
 
Join Date: Feb 2005
Posts: 85
Thanks: 0
Thanked 0 Times in 0 Posts
Default Protection method fails

Hi,

I have a problem with the following code:
mxlWorkbook.Protect Structure:=True , Windows:=True
mxlWorkbook is known, so that is not the issue. Also, when I run the DLL (where this code is put in) using Excel 2003, no error occurs. When using Excel 2000, I get a crash at the Protect statements (although Unprotect works fine).
Does this have to do with saving in Excel 2003, then using Excel 2000? If so, how do I solve this problem. And if not, what is the problem and how do it solve it then?

Thanks in advance
Max






Similar Threads
Thread Thread Starter Forum Replies Last Post
DB Protection ~Bean~ SQL Language 4 October 25th, 2005 07:37 AM
Decompile Protection Eudora Servlets 0 July 18th, 2005 09:59 PM
Protection evad Excel VBA 0 April 26th, 2005 09:06 AM
Protection and commandButtons bahachin Excel VBA 3 March 4th, 2005 09:27 AM
FileSearch method fails maxpotters Excel VBA 6 February 23rd, 2005 05:19 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.