Hi,
Unfortunately, Excel user forms are typically modal, which means they pause VBA code execution until the user form is closed. This makes it difficult to keep a form open while running background tasks like data refreshes.
You could schedule VBA code to close the user form, trigger data refresh, and then reopen the user form at a predetermined time interval (for example, daily). You'd need to save the form's state (e.g., user inputs) before closing it and restore it when reopening it. This method may be a little complicated and, if not handled carefully, may result in data loss.
Best Regards.