XL2000: How to Get Prime Numbers or Factors (246802)
The information in this article applies to:
This article was previously published under Q246802 SUMMARY
A prime number is any integer that can be divided evenly only by itself and one. A factor of a number is an integer that can be evenly divided into that number. This article contains Microsoft Visual Basic for Applications macros for Excel that you can use to determine all the prime numbers within a range, or to derive all of the factors of a number.
REFERENCES
For more information about getting help with Visual Basic for Applications, please click the article number below to view the article in the Microsoft Knowledge Base:
226118
OFF2000: Programming Resources for Visual Basic for Applications
For more information about running sample code, please click the article number below to view the article in the Microsoft Knowledge Base:
212536
OFF2000: How to Run Sample Code from Knowledge Base Articles
Modification Type: | Minor | Last Reviewed: | 10/11/2006 |
---|
Keywords: | kbdtacode kbhowto KB246802 |
---|
|