+ Reply to Thread
Results 1 to 2 of 2

VBA Creating Expandable Random Values Based on Values on a different Sheet

  1. #1
    Registered User
    Join Date
    02-10-2013
    Location
    Really
    MS-Off Ver
    Excel 2007
    Posts
    25

    VBA Creating Expandable Random Values Based on Values on a different Sheet

    Book1.xlsm

    Attached is an example. I have a userform that switches to sheet 2 when opened. Then the two values from the userform are pasted into sheet 2. When the userform is closed, I want to generate a set of random numbers in column A of sheet 1 without switching back to that sheet but using the values in cells C4 and H7 of sheet 2.

    Please let me know what is incorrect with my vba for this.

  2. #2
    Valued Forum Contributor tehneXus's Avatar
    Join Date
    04-12-2013
    Location
    Hamburg, Germany
    MS-Off Ver
    Work: MS-Office 2010 32bit @ Win8 32bit / Home: MS-Office 2016 32bit @ Win10 64bit
    Posts
    944

    Re: VBA Creating Expandable Random Values Based on Values on a different Sheet

    try:Book1.xlsm
    contains:
    Please Login or Register  to view this content.
    Regards
    Please use [CODE]-TAGS
    When your problem is solved mark the thread SOLVED
    If an answer has helped you please click to give reputation
    Read the FORUM RULES

+ 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