+ Reply to Thread
Results 1 to 3 of 3

Random number generator

  1. #1
    Registered User
    Join Date
    10-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Exclamation Random number generator

    I have this vba to generate random numbers 0-9..my problem is that it will generate in a column and I would like it to also generate random numbers in the row .
    any help would be greatly appreciated.

    Please Login or Register  to view this content.
    Last edited by sweetjonnycrash; 10-12-2010 at 04:07 PM.

  2. #2
    Registered User
    Join Date
    10-12-2010
    Location
    Merced, California
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Need help with VBA

    This is probably too simple, but won't your code write a row instead of a column if you just switch parameters in the Offset method, like this:

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    10-12-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Need help with VBA

    That does work but I am trying to have the numbers generated across not be in the same order as the ones up and down..and work off the same form button. Sorry I didn't explain exactly what I wanted.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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