'如果目前是第一種顏色,而且水果名稱正在改變,就將水果名稱寫到 fruit 下拉式選單中 if howmanygroups=0 then If thissubgroupcount=0 then fruitlist = fruitlist & "<option>" & thisvalue2 & "</option>" & vbcrlf end if End If
'如果目前是第一種顏色,而且是第一種水果,就將價格寫到 price 下拉式選單。 if howmanygroups=0 then if howmanysubgroups=0 then pricelist = pricelist & "<option>" & thisvalue3 & "</option>" & vbcrlf end if End if