VBA References RSView32 to FTSE

xC0MMAND0x

Member
Join Date
Jul 2013
Location
Minnesota
Posts
265
Working on a conversion project from RSView32 to FTSE...Anyone who has done this before knows that the VBA is handled very differently.

The RSView32 project has one large VBA code that has 12 or so functions. I am trying to sort through it and integrate in each function into FTSE themselves, but but I have some general VBA issues/questions.

---------------
1. gTagDb is used a lot in the RSView32 code, what is the equivalent for FTSE?
---------------
2. Within the original VBA code, there are a lot of times where other functions are called. Example:

Sub Example()

(code ... code ... code)

ExampleProgram2

Exit Sub
End Sub

How do I go about calling the 2nd (or 3rd) function from within ThisDisplay? Should I perhaps make a "display" that has all of the functions, and then just reference those as needed?
---------------
3. In the original function, there are all of the variables declared right away on what I assume is a "global" level, as they aren't redefined in each function. How do you declare variables in the VBA code in FTSE, when all of the VBA is embedded in different screens?
---------------
4. Can you run a VBA script from a Macro? Like VbaExec Function

I just feel like I need a little direction / references / examples to get me going on this project.

Any advice/help/tips would be greatly appreciated!
 
Last edited:

Similar Topics

Hi Guys, Looking for someone well versed in VBA that can either tell me a certain naming convention or point me in the right direction (I'm a...
Replies
0
Views
82
I need to use a TreeView in my FactoryTalk SE project and i found it under "ActiveX Object" > "Microsoft TreeView Control 6.0 (SP4)". Everything...
Replies
0
Views
54
I'm creating an HMI that has a recipe with 288 data point. It has 3 pieces of data for 96 segments. I need help with VBA code to copy all 288...
Replies
0
Views
155
Hi everyone Is it possible to change a button image in FactoryTalk View SE (v13.00) using VBA?
Replies
0
Views
91
Hi all. Currently I'm working on a VBa script for FTView. I would like to understand a bit better about some commands. 1) What are the...
Replies
3
Views
608
Back
Top Bottom