Article ID: 173177
Article Last Modified on 1/20/2007
APPLIES TO
- Microsoft Project 98 Standard Edition
- Microsoft Project 4.1 Standard Edition
- Microsoft Project 4.1a
This article was previously published under Q173177
SYMPTOMS
In Microsoft Project, if you open the Page Setup dialog box (File menu) after you run a macro that attempts to set a metric measurement for a margin setting, the margin value is set incorrectly. For example, when you run the following macro, Microsoft Project sets the top margin to 1.38 inches, which is equivalent to 3.5 centimeters:
Sub Macro1() FilePageSetupMargins Top:=3.5 End Sub
If you open the Page Setup dialog box after running this macro, the 1.38 inches changes to 1.38 centimeters.
This problem does not occur if you do not open the Page Setup dialog box.
CAUSE
This problem occurs if you set the Measurement System used by Windows to Metric instead of US.
NOTE: To set the Measurement System, point to Settings on the Windows Start menu, and then click Control Panel. Double-click the Regional Settings icon, and then click the Number tab.
WORKAROUND
To work around this problem, click Page Setup on the File menu, click the Margins tab, and enter the values you want for the margins.
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft Project listed above.
Keywords: kbbug kbpending kbusage KB173177