FT View Studio SE VBA Help

OnWill

Member
Join Date
Jul 2021
Location
Aiken
Posts
1
Good morning/afternoon all,

Part 1)
I am working on a trending application where I am trying to have a button open a trend page though I would like for when the button is released it opens that trend page and a specific template. I tried using VBA code on the trend object itself (named Trend) to call the template but in the client it does not seem to work (see code below)

Code:
Private Sub Display_AnimationStart()
    On Error GoTo ErrHandler
    Trend.LoadTemplate ("test_trend")
ErrHandler:
End Sub

I also tried to call through VBA on the button itself and this also did not work

Code:
Private Sub Button8_Released()
    On Error GoTo ErrHandler
    Trend.LoadTemplate ("test_trend")
ErrHandler:
End Sub

Part 2)
I am also trying to code in security permissives to only allow certain members to access/edit these templates and I am not sure where to even begin with coding this. I have searched around to see if I could find any examples or clues but have been unsuccessful.

Thank you 🍻
 

Similar Topics

Hi I hope all are doing good I have some doubt on FTV VBA coding for Drop down list. I wanted to know how to build a VBA code for Drop down list...
Replies
3
Views
1,007
I've been working on a fairly large project for the last couple months and have come to a road block for the last week. I've spent countless...
Replies
7
Views
7,133
Hi, I have a question regarding FactoryTalk view studio. I have a page with bunch of editable variables and it works perfectly, it means that as...
Replies
1
Views
4,936
Is it possible to write VBA programs for PanelView Plus 1000s using FactoryTalk View Studio ME? I find the macro feature very hard to work with...
Replies
0
Views
2,250
Hello guys, i have a question. I use Factory Talk View Studio - Mashine Edition for the Panelview Plus 600. I wanted to change the time span...
Replies
3
Views
11,668
Back
Top Bottom