Hi gurus, I need a bit of help...
I need a VBA code that:
1. User inputs any 2 numbers
2. Msgbox containing only the prime number appears between the number that the user inputs.
E.g.
input box 1: please enter a number (e.g. 3)
input box 2: please enter a second number (e.g 7)
Output:
msgbox: 3 is a prime number . OK
msgbox: 5 is a prime number . OK
msgbox: 7 is a prime number . OK
Thank you
I need a VBA code that:
1. User inputs any 2 numbers
2. Msgbox containing only the prime number appears between the number that the user inputs.
E.g.
input box 1: please enter a number (e.g. 3)
input box 2: please enter a second number (e.g 7)
Output:
msgbox: 3 is a prime number . OK
msgbox: 5 is a prime number . OK
msgbox: 7 is a prime number . OK
Thank you