Results 1 to 13 of 13

Need Help: from combobox choice in userform show textfile.txt in textbox

Threaded View

  1. #1
    Registered User
    Join Date
    07-24-2012
    Location
    Denmark
    MS-Off Ver
    Excel 2003
    Posts
    69

    Need Help: from combobox choice in userform show textfile.txt in textbox

    Hi everybody

    I admit that im rather new to excel and vba but i hope that some of you will help me out anyway.

    Im working with a program where i need to have different textfiles to show up in a textbox on my userform.

    I have a combobox where i have a lot of trainstations to choose from.. the combobox is on my userform as well as the textbox.

    if i choose station1 , i need to show textfile1.txt (that info which inside of the textdocument ofc) in the textbox on the userform. If station2 is choosen - textfile2.txt and so on.

    There are around 200 stations and im looking for any solution but ofcourse the best solution is one where i dont need to do 200's IF/then commands if thats possible.

    I dont know where to start with this and therefore i dont have any programcode to show you - but if i could get the basics i might be able to adapt that to my needs.

    Please..someone.. help me out

    thanks in advance.

    /Jan
    Last edited by Lkivagten; 07-27-2012 at 08:09 PM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1