Still can't Post with code ,
so I'll try this :
Meed Help with: .GetAttribute() & .SetAttribute()

Hello & Thanks ;
I have been working on this since Aug 17th , still no avail .
Code1 below (sub) only changes 1 Link .
Below that is the full pgm Code2 .
How can I get program , to Loop thru all 63 links .
Thanks for your Help..
I have been having trouble Posting .
When I click [ SUBMIT ] up pops a page saying ,
"ACCESS DENIED"
so I will Reply to this post With the CODE portion of this Post .
2 answers
Sort by: Oldest
-
vmars316 621 Reputation points
2020-08-28T16:40:42.197+00:00 Daniel Zhang-MSFT 9,476 Reputation points2020-08-31T08:42:15.22+00:00 Hi Vernon Marsden,
>>How can I get program , to Loop thru all 63 links
Based on your code, you can use HtmlDocument.GetElementsByTagName() method to retrieve a collection of "link elements" in first.
Then you can use foreach to traverse all "link elements".
Here is a simple code example you can refer to.21531-code-example.txt
Best Regards,
Daniel Zhang