V
V
vad1mi2018-04-27 09:30:34
Visual Basic
vad1mi, 2018-04-27 09:30:34

How to use a macro to click buttons in the main menu (Excel)?

Recently, a very useful add-on for Excel came into my hands, which receives real-time data from the server and writes it to Excel.
However, to update the data, you need to click on the Refresh button (Main menu-Add-on tab).
You can write a macro that will click on this button every 1-2 minutes.
Google only answers how to bind a macro to a button, but that's not it at all.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
vad1mi, 2018-05-03
@vad1mi

In total, the add-on was written in c#.
As the Devil said :
The standard ways to update the cell also do not work (by pressing the button, the data is simply unloaded)
.

A
Anton Fedoryan, 2018-04-27
@AnnTHony

There is no need to click on the button, it is enough to call the update function itself, because when you click it, the meaning is the same.
About an example of a timer in Excel VBA read Create every second update

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question