Hello there,
could anyone help with below exercise?
'Write a short macro that calculates the sum of all the numbers between 1 and N, where N is a number given by the user (using Input.Box).
Use a loop, display the calculated sum in message box.'
Hello there,
could anyone help with below exercise?
'Write a short macro that calculates the sum of all the numbers between 1 and N, where N is a number given by the user (using Input.Box).
Use a loop, display the calculated sum in message box.'
Looks pretty much like homework to me ... and we don't do homework. Tell us what you've tried and we can tell you if you're going in the right direction.
Regards, TMS
Trevor Shuttleworth - Retired Excel/VBA Consultant
I dream of a better world where chickens can cross the road without having their motives questioned
'Being unapologetic means never having to say you're sorry' John Cooper Clarke
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks