Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Mandeep Baluja
Hey vabz i tried and put the id in the tag here it is 3 its is working but when i stopped the code and let the radio button to be visible first. Let me clear it on page there is one radio button when i click it open two radio button when i select second one it opens many radio buttons with i

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Vaibhav Joshi
i copied 4 of your lines & created HTML file & its working correctly.. On Fri, Feb 13, 2015 at 5:11 PM, Mandeep Baluja wrote: > Tried this code earlier not working ,may be python will be used to achieve > this. > > > value="OC_GATI_CHENNAI_" type="radio" id="1"> > > > > > On Friday, February 13

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Mandeep Baluja
Tried this code earlier not working ,may be python will be used to achieve this. On Friday, February 13, 2015 at 4:58:02 PM UTC+5:30, Vabz wrote: > > try this: > > Dim btn As Object > Dim hEle As Object > Set hEle = IE.document.getElementsByName("selectedCode") > For Each btn In hEle >

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Vaibhav Joshi
try this: Dim btn As Object Dim hEle As Object Set hEle = IE.document.getElementsByName("selectedCode") For Each btn In hEle If btn.Value = "OC_GATI_CHENNAI_" Then btn.Click Exit For End If Next Cheers!! On Fri, Feb 13, 2015 at 2:45 PM, Mandeep Baluja wrote: > hey vab

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Mandeep Baluja
hey vabz, as i clicked this radio button on webpage with vba ieRadio.Item("ffModels")(0).Checked = True it shows list of vendors with there tags on the same page like this below syntax upto 1 to 10 and i want to press that particular radio button with value for example ocgatichennai i want t

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Vaibhav Joshi
This works withe me.. IE.document.getElementsByName("selectedCode").Item(0).Checked = True Cheers!! On Fri, Feb 13, 2015 at 1:50 PM, Vaibhav Joshi wrote: > can you share webpage url where you are performing this? > > > On Fri, Feb 13, 2015 at 1:06 AM, Mandeep Baluja > wrote: > >> > class="rad

Re: $$Excel-Macros$$ VBA on Webpage

2015-02-13 Thread Vaibhav Joshi
can you share webpage url where you are performing this? On Fri, Feb 13, 2015 at 1:06 AM, Mandeep Baluja wrote: > class="radio_type"> > > Achieved code : - ieRadio.Item("radio_fulfillment")(0).Checked = True > > ieRadio.Item("ffModels")(0).Checked = True > > Achieved code id="radio_oneshipve

$$Excel-Macros$$ VBA on Webpage

2015-02-12 Thread Mandeep Baluja
Achieved code : - ieRadio.Item("radio_fulfillment")(0).Checked = True ieRadio.Item("ffModels")(0).Checked = True Achieved code Now the question is check the third tag given below. Why I am unable to click this third radio button actually when second radio button click it opens third one