Excel and VB

Post here about scripting and programming for HaloPC (audio, network, ai, etc.)
Post Reply
IceMaiden





Posts: 1
Joined: Sat Sep 24, 2005 7:45 am

Excel and VB

Post by IceMaiden »

:roll:

Does anyone know how to get excel and VB to play nice???

I am new to VB but have done basic c++ so am not too lost!

My problem is i have a .txt file containing names. I need to have this list randomised!

People have sugested that i do this via excel. Good plan i thought (so very very wrong!)

So i have conviced VB to move the names there but then what???

Someone on another forum said to use =rand() which works when i manually put it in the cell. However VB just likes adding it to the end of the persons name :(

Any sugestions on getting it working with or with out Excel would be greatly appreciated
Now did you really want to delete that?
modder4321





Posts: 118
Joined: Wed Mar 30, 2005 5:35 pm

Re: Excel and VB

Post by modder4321 »

IceMaiden wrote::roll:

Does anyone know how to get excel and VB to play nice???

I am new to VB but have done basic c++ so am not too lost!

My problem is i have a .txt file containing names. I need to have this list randomised!

People have sugested that i do this via excel. Good plan i thought (so very very wrong!)

So i have conviced VB to move the names there but then what???

Someone on another forum said to use =rand() which works when i manually put it in the cell. However VB just likes adding it to the end of the persons name :(

Any sugestions on getting it working with or with out Excel would be greatly appreciated
ok show me wat the text document looks like so i can help with a function
Post Reply