Results 1 to 7 of 7

How do I add a visual aspect to my macro??

Threaded View

  1. #1
    Forum Contributor
    Join Date
    06-23-2014
    Location
    USA
    MS-Off Ver
    2010
    Posts
    239

    How do I add a visual aspect to my macro??

    I would like to add some visual aspects to my lottery macro. Like numbers flipping through the range as they appear (and I can control how long they flip through the range) and maybe a little rand () function as the numbers are picked. How would I do this and where would I add these two aspects???
    Can someone give me some help please?

    Thank you,

    Here is my code I am working with.

    Const l&         'lower value
    Const u& =       'upper value
    Const n& =         'number of numbers per draw
    rws = 100       'number of lottery draws
    ReDim a(1 To rws, 1 To n)
    
    Randomize
    For i = 1 To rws
        ReDim b(l To u): k = 0: s = ""
        Do
            x = Int(Rnd * u) + l
     
    End Sub
    Last edited by b_rianv; 09-01-2014 at 10:06 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 05-23-2013, 11:15 AM
  2. Get aspect ratio from dimensions
    By martix in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-05-2011, 09:19 PM
  3. Is aspect ratio possible in an XY scatter
    By mewingkitty in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 03-05-2009, 10:47 PM
  4. How to copy a graphic and keep the same aspect
    By feejo in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-15-2007, 12:53 PM
  5. Replies: 1
    Last Post: 09-13-2005, 07:06 AM

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1