문제

I am currently making a macro that when i click on the button on the excel spreadsheet, it will go to this website and download the file onto my desktop and save it with the file name "flower.jpg". how would i go about doing this? the website i am downloading this file from is my own website using php coding and such, but i am kinda new to vba macro programming. please help.

i currently have this code but it always gives me an error which i have no clue what for.

my.computer.network.downloadfile(website link here, my desktop location)

Thank you

도움이 되었습니까?

해결책

If you have a password protected site, try this code instead

my.computer.network.downloadfile(website link here, my desktop location, username, password)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top