PDA

View Full Version : get "attenzione" if in response exists



sal21
05-19-2025, 03:08 AM
my code:

url="https://www.xamig.com/superenalotto/2005/12/31/risultati-montepremi-vincite-estrazione.php"

...


...
With http
.Open "GET", URL, False
.send
Do: DoEvents: Loop Until .readyState = 4
html.body.innerHTML = .responseText
End With
...


if the page dont have a correct result appear the text like this:

Attenzione! Si è verificato un errore: estrazione non trovata.


I need to get the result in myvar

note:
instead if the result is correct result see here:

https://www.xamig.com/superenalotto/2025/03/01/risultati-montepremi-vincite-estrazione.php

Aflatoon
05-19-2025, 05:57 AM
Cross-posted again: https://www.eileenslounge.com/viewtopic.php?f=30&p=327342&sid=0d49b390c522a4697de42ec53eb3da13

[edit]
and here: https://www.excelforum.com/excel-new-users-basics/1435155-get-attenzione-from-web-page-new-post.html

georgiboy
05-19-2025, 07:01 AM
Hi sal21,

Please check the below link:
https://excelguru.ca/a-message-to-forum-cross-posters/

Aussiebear
05-19-2025, 02:23 PM
Its not the first time that Sal21 has been informed re cross posting.