Excel Patterns Listed Out of Sequence from Macro

ID: Q68993


The information in this article applies to:
  • Microsoft Excel for Windows, versions 3.0, 4.0, 4.0a, 5.0


SUMMARY

The patterns listed on the dialog box after choosing Patterns from the Format menu are listed out of the sequence that they can be accessed from a macro.


MORE INFORMATION

The PATTERNS() macro command allows you to choose one of the 18 available patterns that are listed on the Format Patterns dialog box. The corresponding values are listed below.

Sequence from Macro

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18

Sequence on Dialog

1 3 2 4 7 8 9 10 11 12 13 14 15 16 17 18 5 6

Example

If you wanted to access the fifth pattern from the Format Patterns dialog, it would be necessary to have a macro command that looks like:

=PATTERNS(17)


REFERENCES

"Function Reference," version 4.0, page 320-321
"Function Reference," version 3.0, page 179

Additional query words: 3.0 4.0 color border shade

Keywords :
Version :
Platform :
Issue type :


Last Reviewed: March 21, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.