Reference thread329-940089
I know the posting was a long time ago but I would be grateful if anyone could help me out here with a query arising from mapman04's HTA contribution. I wish to use the HTA but am stuck due to inexperience. I am also aware that Vbscript has now been retired but I need to use it anyway. My problem is that having made the selection from the drop down menu eg Ohio I then need to use the variable in which it was held ie strProduct in the rest of my script eg If strProduct = "Ohio" then ..... However, since the value "Ohio" was assigned to the variable within a subroutine it is not available for manipulation outside the routine as it has no value. Therefore, I am at a loss as to how I can obtain the earlier value of "Ohio".
Thank you
I know the posting was a long time ago but I would be grateful if anyone could help me out here with a query arising from mapman04's HTA contribution. I wish to use the HTA but am stuck due to inexperience. I am also aware that Vbscript has now been retired but I need to use it anyway. My problem is that having made the selection from the drop down menu eg Ohio I then need to use the variable in which it was held ie strProduct in the rest of my script eg If strProduct = "Ohio" then ..... However, since the value "Ohio" was assigned to the variable within a subroutine it is not available for manipulation outside the routine as it has no value. Therefore, I am at a loss as to how I can obtain the earlier value of "Ohio".
Thank you