How JustAnswer Works:
  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.
Ask Ingo U Your Own Question
Ingo U
Ingo U, Software Engineer
Category: Homework
Satisfied Customers: 755
Experience:  Over 25 years experience in software development. Expert in Microsoft .Net, C#, C++, VB, SQL
Type Your Homework Question Here...
Ingo U is online now
A new question is answered every 9 seconds

I need help with a game for a vba class. I found that

This answer was rated:

I need help with a craps game for a vba class. I found that you answered this before. Can you help out?
could you upload any existing file(s) to so I may have a look?
Ingo U

PS If you're not familiar with wikisend, it's easy and free:
Go to and upload the file there (no need to sign up). You will then get a page that has the File ID and Download Link. Copy either the File ID or the Download Link and come back here and paste it in your reply.
Customer: replied 3 years ago.

File ID: 235894


Download Link:



In this game, the player rolls a pair of dice and sums the numbers showing.

A total of 7 or 11 on the first roll wins for the player, whereas a total of 2, 3, or 12 losses.

Any other number is XXXXX the “point.”

The player then rolls the dice again.

If the player rolls the point number, the player wins.

If the player throws a 7, the player loses.

Any other number requires another roll.

The process continues until either a 7 or the point is thrown.

The player can quit while waiting for the point, in such a case, a loss is recorded.

Only keep track of wins and losses – we do not want to deal with the actual dollar amounts that would be won or lost.

After each game, the player should be told the cumulative number of wins, losses and be asked to play again or quit.

would you like me to rewrite this in a (hopefully) more readable fashion? As it stands, it doesn't run since there are GoTo statements with undefined labels (and Goto is to be avoided anyway)
Customer: replied 3 years ago.
Yes, please. I will not be back on this until 4:00cst.

You need to spend $3 to view this post. Add Funds to your account and buy credits.
Ingo U and other Homework Specialists are ready to help you