Alvinzor Flores - randomizer one

Hosted by Dailymotion. For legal issues report at the Copyright Center, report us on DMC, or use the Instant Removal tool.

Alvinzor Flores - randomizer one

P
PoemHunter.com

1 Views • Oct 29, 2014

Description

Insert module

Function RandomSelection(aRng As Range)
Dim index As Integer
Randomize
Index=Int(aRng.Count * Rnd + 1)
RandomSelection = aRng.Cells(index) .Value
End Function

=INDEX(A1: A8, RANDBETWEEN(1, COUNTA(A1: A8)))

tools > options > chart > plot empty cells as

set cell as a value

Range('B3') .Value = 2

try to use

someVariable = Range('A1') .Text
instead

someVariable = Range('A1') .Value

Alvinzor Flores

http://www.poemhunter.com/poem/randomizer-one/