I want to run a waitbar during execution of an excel macro running via activeX. First i wanted to test running a waitbar in a script ran by batch command.
Here is my code :
test.m
j = batch('test1');
test1.m
h = waitbar(0,'Patientez svp...');fin = 10;ticwhile toc < fin waitbar(toc/fin, h, 'Traitement Excel en cours...');endclose(h)
When i run test.m, the waitbar never appears !
May someone could help me to understand what i'm doing wrong ?
Best Answer