HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

Based this url:

http://www.codicecatastale.it/regione/abruzzo

with the name of region for example:

C:\MYDIR\abruzzo.html

User avatar
HansV
Administrator
Posts: 75751
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by HansV »

Regards,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

work but not idea to change the path to save file...

User avatar
HansV
Administrator
Posts: 75751
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by HansV »

Change

Code: Select all

CachedFilePath = Environ("temp") & "\" & "ReplaceThisWithFilename" & ".html"
to

Code: Select all

CachedFilePath = "C:\MYDIR\abruzzo.html"
Regards,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

HansV wrote:
10 Nov 2022, 20:10
Change

Code: Select all

CachedFilePath = Environ("temp") & "\" & "ReplaceThisWithFilename" & ".html"
to

Code: Select all

CachedFilePath = "C:\MYDIR\abruzzo.html"
[/quote]

tks!

ops....

how to get all value in tag href of the new file?

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

sal21 wrote:
10 Nov 2022, 20:12
HansV wrote:
10 Nov 2022, 20:10
Change

Code: Select all

CachedFilePath = Environ("temp") & "\" & "ReplaceThisWithFilename" & ".html"
to

Code: Select all

CachedFilePath = "C:\MYDIR\abruzzo.html"
[/quote]

.


[/quote]

tks!

ops...

how to get all value in tag href of table comuni, from the new file?

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

sal21 wrote:
10 Nov 2022, 20:37
sal21 wrote:
10 Nov 2022, 20:12
HansV wrote:
10 Nov 2022, 20:10
Change

Code: Select all

CachedFilePath = Environ("temp") & "\" & "ReplaceThisWithFilename" & ".html"
to

Code: Select all

CachedFilePath = "C:\MYDIR\abruzzo.html"
[/code

now work.
tks!

ops...

how to get all value in tag href of table comuni, from the new file?

User avatar
HansV
Administrator
Posts: 75751
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by HansV »

Sorry, I cannot help you with that.
Regards,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4169
Joined: 26 Apr 2010, 17:36

Re: HOW TO SAVE COMPLETE HTML PAGE IN C:\MYDIR\

Post by sal21 »

HansV wrote:
10 Nov 2022, 20:51
Sorry, I cannot help you with that.
no prob! bro