Welcome to the forum! Please paste code between code tags. Click # on toolbar to insert tags.
Option Explicit as first line of Module is your friend. Set the Option to require variable declaration. I add Debug's Compile to the toolbar and compile a project before a run. Doing so, we see that we need:
HTTPREQUEST_SETCREDENTIALS_FOR_SERVER = 0




Reply With Quote
