Page 1 of 1

vba EXCEL

Posted: Fri Jan 04, 2008 6:07 pm
by Lipaika
Hello,

I have executed the example given for excel, and it opens iMacros Broswer to show the step by step macro. I would like to know how to launch the macrowithout opening the iMacro interface?
Thanks

Posted: Tue Jan 08, 2008 4:26 pm
by Tech Support
Please use iimInit ("-tray").

Posted: Wed Jan 09, 2008 12:45 am
by my2testing
Ⅰ.
Example-Batchfile.bat

Code: Select all

echo Example iMacros Batch File
REM Tip: You may have to adjust the path names to YOUR installation directory of iMacros

"C:\Program Files\iMacros\imacros.exe" -macro Demo-FillForm -tray

echo Batch file completed
pause
Ⅱ.
Visual Basic Script example:

Code: Select all

Dim imacros, iret 
Set imacros = CreateObject("imacros") 
iret = imacros.iimInit("-tray") 
iret = imacros.iimPlay("mymacro")