Updating caption on ActiveX button in Excel vba
问题 I'm trying to update the caption of an ActiveX control button on an Excel spreadsheet to note that the code associated with the click event is working. The code pulls data from an azure database so pressing the button triggers anywhere from a 5-10 sec delay. My original code had a single sub that essentially looked like this: Sub GetInfofromDB() btnUpdate.Caption = "Updating...." <<code to get data from azure db>> btnUpdate.Caption = "Update List" 'reverts button to standard text End Sub