Results 1 to 17 of 17

Thread: Help with a simple VBA

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #13
    VBAX Regular
    Joined
    Nov 2015
    Posts
    9
    Location
    So, Long rather than Integer? Should I always use Long when it comes to user inputs, then (eg for the bonus code)?
    And do you mean I should replace the Do While by For i to n like that:
    For i = 1 To n
    ans = ans + i
    i = i + 1
    Next i
    Last edited by Kakzie; 12-04-2015 at 06:16 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •