Microsoft KB Archive/277613

= Protected ranges not adjusted when you edit in previous versions of Excel =

Article ID: 277613

Article Last Modified on 5/31/2007

-

APPLIES TO


 * Microsoft Office Excel 2007
 * Microsoft Office Excel 2003
 * Microsoft Excel 2002 Standard Edition

-



This article was previously published under Q277613





SYMPTOMS
In Microsoft Excel, you open a protected workbook that uses the &quot;Allow Users to Edit Ranges&quot; feature. When you do this, the workbook may not protect cells as expected.



CAUSE
This problem may occur if the following conditions are true:
 * You create a protected workbook in Excel.
 * You use the &quot;Allow Users to Edit Ranges&quot; feature.
 * You then edit and save the workbook in a version of Excel that is earlier than Excel 2002.

This problem occurs because previous versions of Excel do not have the &quot;Allow Users to Edit Ranges&quot; feature. Therefore, later versions of Excel do not recognize changes that are made to those ranges in earlier versions of Excel.



WORKAROUND
You can avoid this problem by protecting the worksheet with a password so that it cannot be easily changed in a previous version of Excel.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



How to use the &quot;Allow Users to Edit Ranges&quot; feature
To use the &quot;Allow Users to Edit Ranges&quot; feature, use one of the following procedures, as appropriate for the version of Excel that you are running:
 * Excel 2002 and Excel 2003:

On the Tools menu, point to Protection, and then click Allow Users to Edit Ranges.
 * Excel 2007:

On the Review tab, click Allow Users to Edit Ranges.

Microsoft Excel 2002 or Microsoft Office Excel 2003
 Start Excel. Select cells E2:E10. Type Text in cell E2, and then press CTRL+ENTER. Select cells B2:D10. On the Format menu, click Cells to open the Format Cells dialog box.</li> On the Patterns tab, click Green, and then click OK.</li> On the Tools menu, point to Protection, and then click Allow Users to Edit Ranges.</li> In the Allow Users to Edit Ranges dialog box, click New.</li> Make sure the Refers to Cells box contains the following text:

=$B$2:$D$10

</li> Click OK.</li> In the Allow Users to Edit Ranges dialog box, click Protect Sheet.</li> In the Protect Sheet dialog box, click OK.</li> Name the document &quot;Green.xls,&quot; and then save it.</li> Start any previous version of Excel.</li> Open the document that you created in step 12.</li> On the Tools menu, point to Protection, and then click Unprotect Sheet.</li> Right-click column D, and then click Delete.</li> On the Tools menu, point to Protection, and then click Protect Sheet.</li> On the File menu, click Save.</li> In Excel, open Green.xls.</li> <li>In cell D4, type New .</li></ol>

Microsoft Office Excel 2007
<ol> <li>Start Excel.</li> <li>Select cells E2:E10.</li> <li>Type Text in cell E2, and then press CTRL+ENTER.</li> <li>Select cells B2:D10.</li> <li>On the Home tab, click Format in the Cells group, and then click Format Cells.</li> <li>On the Fill tab, click Green, and then click OK.</li> <li>On the Review tab, click Allow Users to Edit Ranges.</li> <li>In the Allow Users to Edit Ranges dialog box, click New.</li> <li>Make sure that the Refers to Cells box contains the following text:

=$B$2:$D$10

</li> <li>Click OK.</li> <li>In the Allow Users to Edit Ranges dialog box, click Protect Sheet.</li> <li>In the Protect Sheet dialog box, click OK.</li> <li>Name the document &quot;Green.xls,&quot; and then save it.</li> <li>Start any previous version of Excel.</li> <li>Open the document that you created in step 12.</li> <li>On the Tools menu, point to Protection, and then click Unprotect Sheet.</li> <li>Right-click column D, and then click Delete.</li> <li>On the Tools menu, point to Protection, and then click Protect Sheet.</li> <li>On the File menu, click Save.</li> <li>In Excel, open Green.xls.</li> <li>In cell D4, type New .</li></ol>

One of the columns in the range that uses the &quot;Allow Users to Edit Ranges&quot; feature was deleted in the earlier version of Excel. However, instead of adjusting the range to one less column, the range stays the same in the later version of Excel.

Additional query words: XL2002 XL2007 XL2K7 XL2003 XL2K3

Keywords: kbbug kbpending KB277613

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.