- Katılım
- 20 Nisan 2020
- Mesajlar
- 5
- Excel Vers. ve Dili
- güncel ingilizce
Write a VBA code that will generate the list of all prime numbers between lower and upper bound specified by the user. The code should be written in a single “Sub”. Do not use function structures. The code should generate a warning message if the user doesn’t follow the following rules while he/she enters input.
- the user can enter only numbers for the bounds
- upper bound should be greater than the lower bound