Hi everyone,

this is a bit of a strange question and I don't think you can do it, but I thought I'd ask anyway.

say you have a text file which contains vb code, is there anyway to say import that text file into your program to say turn it into a sub?

for example say you had a sub called lets say crypto

sub crypto

end sub

and that was all we had for the particular sub, now the text file we have, has the following code in it lets say:

dim crypt as string
dim cryp as string

cryp = text2.text
crypt = instr(1,cryp,"blah",vbTextCompare)

if crypt <>0 then

'more stuff here etc

end sub

now is there anyway to make the sub crypto imports that information???

thanx for any help.