Open Textfile using Listbox

K

Kou Vang

This seems so easy, yet it is holding up my whole code. I am trying to do
this:

Dim LevelPath as String

LevelPath = Lstlvlfile.List(I)

Set F = fs.OpenTextFile("LevelPath")

But LevelPath="" I have no idea why this is? The other question is, can I
just insert the List(I) value straight into the () after the opentextfile
method? Thanks

Kou
 
K

Kou Vang

Forget it, I figured it out, I knew it was something simple and I was just
stupid. Thanks.

Kou
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top