Results 1 to 1 of 1

Thread: Doevent and buttons

  1. #1

    Doevent and buttons


    So I have created this macro that creates a query table an refreshes it every second. I have 2 button to "connect" and "disconnect".

    "Connect" runs the code.

    The code runs alright and the query table get refreshed accordingly however the buttons are no longer visible! I tried changing the sleep time an the position of doevents but it does not appear make any difference.

    Any ideas as to how I can resolve this issue?

    ps is there maybe an alternative to use doevents?
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts