Consulting

Results 1 to 6 of 6

Thread: Can macro simulate data?

  1. #1
    VBAX Newbie
    Joined
    Dec 2015
    Posts
    2
    Location

    Post Can macro simulate data?

    Hi
    I am very new to excel macro and my basic programming knowledge is extremely weak.But I have a project that required to regenerate random stochastic data.Then these data is needed to record down for the purpose of analytical reason by terminating transient stage to avoid using initial bias.
    Does excel macro works these requirements?I am really appreciated a need from someone.And merry Christmas to all

  2. #2
    VBAX Regular
    Joined
    Apr 2009
    Location
    Steamboat Springs
    Posts
    20
    Location
    I am sure that a macro code could be developed, but it will be necessary for you to be specific in your needs and the layout of your spreadsheet.

  3. #3
    VBAX Newbie
    Joined
    Dec 2015
    Posts
    2
    Location
    Hi Alansidman
    Could you pls teach me how to record down my input data into row by row without overwriting? I have my hard time to use the application of "use relative reference". This is because I would like to save all input data into row by row.But my original row of data is gone after I add in second row of data by using "relative reference method" that I have learnt from youtube.

  4. #4
    Moderator VBAX Sage SamT's Avatar
    Joined
    Oct 2006
    Location
    Near Columbia
    Posts
    7,814
    Location
    Thread moved from Resources Forum.
    I expect the student to do their homework and find all the errrors I leeve in.


    Please take the time to read the Forum FAQ

  5. #5
    VBAX Regular
    Joined
    Apr 2009
    Location
    Steamboat Springs
    Posts
    20
    Location
    What does your current code look like. Post it here. Then explain what it is not doing that you wish to happen.

  6. #6
    Distinguished Lord of VBAX VBAX Grand Master Bob Phillips's Avatar
    Joined
    Apr 2005
    Posts
    25,453
    Location
    This code snippet will populate E5:H10 with a set of values between 10 and 100, easily amended

        With Range("E5:H10")
        
            .Formula = RandBetween(10, 100)
            .Value = .Value
        End With
    ____________________________________________
    Nihil simul inventum est et perfectum

    Abusus non tollit usum

    Last night I dreamed of a small consolation enjoyed only by the blind: Nobody knows the trouble I've not seen!
    James Thurber

Posting Permissions

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