How Do I Display a File using macOS Quick Look in a Popup Window?

You really need to post your macro -- or at least the relevant actions. As the Tip says, showing more helps get the best answer.