itrigger not working?

itrigger not working?

tony
Enthusiast Enthusiast
570 Views
1 Reply
Message 1 of 2

itrigger not working?

tony
Enthusiast
Enthusiast

Hi, hopefully a simple solution?

 

During testing of some code "iLogic to Trim a File Name to Populate iProperties" setup by another user (on this page) I found that triggering the code with event triggers caused errors with other software using event triggers.

If i save the open doc and then press the itrigger button the code fails to run unless the Rule is run manually before hand.

 

Sub Main
trigger=iTrigger0
Dim ThisDocument As PartDocument = ThisApplication.ActiveEditDocument....... 

 

Is placing "trigger=iTrigger0" under the Sub Main correct to manually trigger the code? 

 

Thank you

0 Likes
Accepted solutions (1)
571 Views
1 Reply
Reply (1)
Message 2 of 2

tony
Enthusiast
Enthusiast
Accepted solution
Sorted, Set event trigger to "Any Parameter change"
0 Likes