LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 15
Default VBA randomize vs. srand

Hi,

I'm trying to make a VBA version of a shuffling algorithm I've seen,
which is written (I think) in C. I've got the shape of it, I think, but
I think there is a problem due to the Randomize() seed function in vba
and the srand() function in C. Do they work the same way? How can I
replicate the behaviour of srand in vba?

Cheers,

Chris

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Randomize from a list PEGWINN Excel Discussion (Misc queries) 12 August 4th 09 11:59 AM
randomize data rmg2828 Excel Discussion (Misc queries) 1 July 17th 06 05:01 PM
How can I randomize a set of data? Hannie1004 Excel Worksheet Functions 1 February 14th 06 10:06 PM
How to Randomize Files? Jan Nademlejnsky Excel Programming 0 October 21st 04 02:22 AM
randomize dallas Excel Programming 11 May 30th 04 08:27 PM


All times are GMT +1. The time now is 06:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"