Web Page don't not load

    PayPal = ShellExecute(0, "Open", "https:\\www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" & "HIDDEN & "&amount=" & "124.99" & "&item_name=" & "HIDDEN%20-%20Trading Journal%20Trading%20Journal")

I have this line of code that opens the default browser and navigates to PayPal website. In my original (un-compiled) workbook, it works fine. However, after the workbook is compiled, the default browser opens, but the PayPal page does not load. If I have my default browser currently open, the code will open a new tab the PayPal page is loaded

Can someone offer a solution to this.

Is your default web browser FireFox?

the code is to load the user’s default browser, however mine is Chrome.

And what are you getting if you use ActiveWorkbook.FollowHyperlink ?

Try this instead:

Sub View_Page()
Shell "explorer ""https:\\www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=" & "HIDDEN & "&amount=" & "124.99" & "&item_name=" & "HIDDEN%20-%20Trading Journal%20Trading%20Journal"
End Sub