Hi everybody,
Sub Bookmarks() is a VBA macro which puts... bookmarks in a Word document. Working fine from autoit with :
_WordMacroRun($oWordApp, "Bookmarks")
Sub Bookmarks(ByVal nbre As Integer) is quite the same macro : I just added a MsgBox for testing purpose. Still working fine from VBA, but no more from autoit with :
_WordMacroRun($oWordApp, "Bookmarks", 2)
I tried (rather blindly) ByVal --> ByRef and ("test", String) in place of (2, Integer) without succes.
I'm afraid I need some help ! Thanks in advance.