As Supputuri mentioned, it looks like environment variable is not returning a string type.Try if this works.
Code:
Browser("Browser Name").Page("Page Name").Frame("fsbottom").WebList("Dealer Code").Select cstr(Environment.Value("Dealer_Code"))
