Excel VBA – Develop a Excel 2013 File with Button Event and Refresh SQL Server Data ( Initialize the Development Environment )

Excel VBA – Develop a Excel 2013 File with Button Event and Refresh SQL Server Data ( Initialize the Development Environment )

– Show Developer Tab from on the Excel Ribbon. Click Here.
– Add Button or something else from the Excel Spread Sheet. Activate Design Mode and Click the Button.
– Then you can start the VBA Development from Button Click Event Handler.
– Press Alt + F11 => Tools => References, to Add "Microsoft ActiveX Data Objects 6.1 Library" on the Excel File.
 
Save the Excel File in xlsm File Format.
The Excel File in xlsx File Format cannot be executed the VBA Code.