ODBCConnection.EnableRefresh (Excel)

True if the connection can be refreshed by the user. The default value is True.

The RefreshOnFileOpen property is ignored if the EnableRefresh property is set to False. For OLAP data sources, setting this property to False disables updates.


ActiveWorkbook.Connections(1).ODBCConnection.EnableRefresh = True