Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 149
  • Last Modified:

saving listbox

im working on a program and i want to be able to save all the contents of a list boxt to a txt file in has to be able to save words and numbers
0
440
Asked:
440
1 Solution
 
MikeP090797Commented:
Open "C:\1.txt" for output as #1
For I = 0 to List1.Listcount-1
Print #1, List1.List(i)
next i
Close #1
0
 
440Author Commented:
worked great
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now