You could do it like your code sample making sure you affix the Form name to the Gov (not sure what this is) and cboSite
You can do a prerun and print the contents of the file to another file but make then look like VB statements. Open the file manually, copy the contents, then paste the contents to your .BAS file
You can load a Resource File like Max suggested but then you will need a way to read a line if you need to be selective. Not sure how you want to use this data in your app




Reply With Quote