10 Replies Latest reply: Feb 5, 2016 6:24 AM by Sridhar Reddy RSS

    match not working

    Mina Patel

      Hi I'm trying to display a tab with selections for two users.

      I have an on Open trigger on the document

      =If(Match((Subfield(OSUser(),'\',2)='User1','User2' >0,'SH01','SH02'))) 

      I want to add different selections for each user. Can I do this and have I got the syntax correct.

      because when I open the document I can't see the correct sheet popping up on open.

      Any help appreciated.