By using expertatexcel.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

Become an Σxpert at Σxcel.com

 


Adding the Developer Ribbon to Excel

Go to File > Options > Customize Ribbon > right box > check on Developer

Video on Youtube to set up Developer Tab


  • Ribbon
  • Options
  • Set up Developer Ribbon
  • Versions (2016)
  • Excel intermediate level
  • Color Coding example
  • Random
  • For Loops
  • RandBetween Function
  • Cells(r,c)
  • .Select
  • .Interior.Color
  • RGB function
  • Running Excel functions in VBA
  • Sub - End Sub



    Sub RandomPattern()
    Cells.Clear
    For i = 1 To 1000
        rr = [=randbetween(1,20)]
        rc = [=randbetween(1,20)]
        Cells(rr, rc).Select
        Cells(rr, rc).Interior.Color = RGB([=randbetween(1,255)], [=randbetween(1,255)], [=randbetween(1,255)])
        
        'ActiveCell = i
        
        'Delay
      '  DoEvents
        
    Next

    End Sub



  •