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 29th, 2004, 01:01 AM
Registered User
 
Join Date: Jun 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with protected worksheets and file size.

I have built an application in which only cells for input data can be changed by the user. The file opens with a graphic display and then a series of toolbars allows access to the particular regions of the worksheets for data input, handling and final calculation.

My problem is that if the mouse button is clicked inadvertently the EXCEL error userform appears with the message that the sheet is protected and cannot be changed. On clicking OK the display jumps to exhibit cell IV1 selected and it is necessary to close and reopen the file to return to proper operation.

This problem occurs with both

ActiveSheet.Protection = xlUnLocked and

ActiveSheet.Protection = xlNoRestriction

options acting on the protected worksheet, cell IV1 being locked at all times.

My problem with file size is that it seems to be a random variable. Deletion of VBA code does not seem to have a direct bearing on the size of my EXCEL file.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Wrox File Share - 1g file size limit b67 BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 May 7th, 2007 04:24 PM
Passwrd protected mdb file from Crystl Rpt in vb6 Kaustav Pro VB Databases 1 October 24th, 2005 08:08 PM
Splitting Excel file into Multiple Worksheets tvschalapathirao Dreamweaver (all versions) 3 May 16th, 2005 02:16 AM
How to create a file in a password-protected share adyrotaru VS.NET 2002/2003 1 January 13th, 2004 09:25 AM





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