Current location - Loan Platform Complete Network - Big data management - Import SQL data into Excel via ODBC, how to set auto refresh?
Import SQL data into Excel via ODBC, how to set auto refresh?
Use the RefreshPeriod property of QueryTables

Private Sub Worksheet_Activate()

Activesheet.QueryTables(1). p>

Thanks to the program you put the imported data in the worksheet to

The value of 15 can be adjusted, just enough to meet your update requirements on the line, take the value of 0-32767, 0 for the stop automatically refreshed.

The value of 15 can be adjusted to meet your update requirements.