Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Error:
Run-time error '1004': Application-defined or object-defined error Compares cells in column Z with the Random number generated to see if it has already been generated. I think it has something to do with "m". RandomNumber = Int(1000 * Rnd + 1) m = .Cells(1, 27) For k = 1 To m If RandomNumber = .Cells(k, 26) Then RandomNumber = Int(1000 * Rnd + 1) End If Next k .Cells(m, 26) = RandomNumber m = m + 1 .Cells(1, 27) = m |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Run-time error '50290': Application-defined or object-defined erro | Excel Discussion (Misc queries) | |||
Export a chart in a GIF file. Run-time error '1004': Application-defined or object-defined error; | Excel Programming | |||
Application-Defined or object defined error 1004 When ran on exel97 but not 2003 | Excel Programming | |||
Copying A Range of Cells From one Sheet to Another - Error Application Defined or Object Defined | Excel Programming | |||
Runtime error 1004- application defined or object defined erro | Excel Programming |