Forum Discussion
tristaanogre
14 years agoEsteemed Contributor
If you want to get it to check on a particular radio button based upon the value in the Excel, I'd do the following:
In my practical experience, though, I think most radio button controls actually map with a ClickButton method as well in which case all the "Click" calls in the above code could be replaced with ClickButton
/Price by band
if (VarToBool(Drivera.Value("Price by band")))
{
pricebyband.Click();
}
if (VarToBool(Drivera.Value("Per pupil price")))
{
Perpupilprice.Click();
}
if (VarToBool(Drivera.Value("Per unit price")))
{
Perunitprice.Click();
}
In my practical experience, though, I think most radio button controls actually map with a ClickButton method as well in which case all the "Click" calls in the above code could be replaced with ClickButton
Related Content
- 11 years ago
Recent Discussions
- 21 hours ago
- 21 hours ago
- 5 days ago