PDA

View Full Version : how to automate a label button in vba



nvdgl
01-14-2016, 01:11 AM
hi friends i am 100% New to Html that why i can;t automate the browse button in the following code because the button is labeled like "Select.." i am attaching the picture you can see the button "Select..." in the picture
My VBA code is:
IE.Document.getElementsByid("PersonalPhoto").Click

<html>
Select...</span>
<input id="PersonalPhoto" name="PersonalPhoto" type="file" />
</div>
</html>