Can a Macro Process a Web Page in the Background?

Please upload your macro.
That is most likely because you are using an Activate App Action, which you should not do, unless the app is not running. In which case you can Activate Last App at the end of your Macro.

See How to upload your macro. Instructions for uploading to an existing post are just below the main instruction.
You may also find this Macro useful: MACRO: Upload KM Macro to New or Existing Topic @KM [Pub]