N
Nick
Hi All,
I have two word templates (A1, A2) and what i am trying to do using VB code
is that create a new document base on A2 template when A1 is creating.
So i write ActiveDocument.Add(Path of A2) code inside the new() in A1. Now i
have issue that how to pass a parameter to A2 when creating document , so
that A2 code behind knows that this is creating from A1 . as the behavior are
different if A2 create by itself.
I tried using ActiveDocument.Add(path of A2, ,, false) code in A1, and using
if (not activedocument.windows(1).visiable ) then it's calling from A1 , but
it does't seem work as activedocument.windows(1).visiable is always return
true.
am i on right track to achieve this or is that any other ways can do?
any helps are appreciated..
Thanks
nick
I have two word templates (A1, A2) and what i am trying to do using VB code
is that create a new document base on A2 template when A1 is creating.
So i write ActiveDocument.Add(Path of A2) code inside the new() in A1. Now i
have issue that how to pass a parameter to A2 when creating document , so
that A2 code behind knows that this is creating from A1 . as the behavior are
different if A2 create by itself.
I tried using ActiveDocument.Add(path of A2, ,, false) code in A1, and using
if (not activedocument.windows(1).visiable ) then it's calling from A1 , but
it does't seem work as activedocument.windows(1).visiable is always return
true.
am i on right track to achieve this or is that any other ways can do?
any helps are appreciated..
Thanks
nick