Microsoft KB Archive/925224

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:33, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Article ID: 925224

Article Last Modified on 10/15/2007



APPLIES TO

  • Microsoft Office Excel 2003




Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows registry


SYMPTOMS

You set the Regional Options setting on a computer to a language other than English (United States). When you use a macro to recalculate a range in a Microsoft Office Excel 2003 spreadsheet on this computer, the format of the dates in the range changes from the date format that is used by the language that you set on the computer to the date format that is used by the English (United States) setting. For example, dates that use the "dd/mm/yyyy" format are changed to the "mm/dd/yyyy" format.

Note The format of the dates in the worksheet does not change if you use either of the following methods to recalculate the whole worksheet:

  • You press the F9 key.
  • You use a macro that uses the Activesheet.Calculate command.


CAUSE

This problem occurs if the macro that you use to recalculate the range uses the Range.Calculate command or the UsedRange.Caculate command. In this case, Excel incorrectly calculates a date from a text string, such as "=VALUE(B5)".

RESOLUTION

This problem was first fixed in a hotfix that is now contained in a service pack. If you installed the latest Office 2003 service pack, you do not have to install the hotfix.

Service pack information

This problem is corrected in Office 2003 Service Pack 3. To resolve this problem, obtain the latest service pack for Office 2003. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

870924 How to obtain the latest service pack for Office 2003


After you install the service pack, follow the steps that are listed in the "How to enable the hotfix" section to set the RangeCalcRegionalSettings registry key and to activate the hotfix.

Hotfix information

How to obtain the hotfix

This issue is fixed in the Excel 2003 Hotfix Package that was released on October 2, 2006. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

925501 Description of the Excel 2003 post-Service Pack 2 hotfix package: October 2, 2006


How to enable the hotfix

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

  1. Exit Excel 2003.
  2. Click Start, click Run, type regedit, and then click OK.
  3. Locate and then click the following registry subkey:

    HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options\

  4. On the Edit menu, point to New, and then click DWORD Value.
  5. Type RangeCalcRegionalSettings, and then press ENTER.
  6. Right-click RangeCalcRegionalSettings, and then click Modify.
  7. In the Value data box, type 1, and then click OK.
  8. On the File menu, click Exit to exit Registry Editor.


STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

This problem was first corrected in Office 2003 Service Pack 3.

Keywords: kbbug kbfix kbregistry kbqfe kbpubtypekc kbhotfixserver kboffice2003sp3fix KB925224