Results 1 to 25 of 25

Thread: [RESOLVED] Calculate total number of tickets

Threaded View

  1. #3

    Thread Starter
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: Calculate total number of tickets

    The total number of tickets are suppose to represent the number sold.

    I tried putting type ticket_type into an array but I didn't have much success. That is what those two lines,

    vb Code:
    1. Dim ticket_table(2) As ticket_type
    2. Dim ticket() As Variant

    are suppose to do.

    If I change "tickets" datatype from string to integer I receive a typemismatch error on this line,

    vb Code:
    1. MsgBox ("Total number of tickets = " + tickets)
    Last edited by Nightwalker83; Apr 24th, 2012 at 04:49 AM.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

Posting Permissions

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



Click Here to Expand Forum to Full Width