Qlik Community

QlikView App Dev

Discussion Board for collaboration related to QlikView App Development.

Announcements
IMPORTANT security patches for GeoAnalytics Server available to download: READ DETAILS
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Global variable in VBScript/VBA

Hi,

I'm trying to declare a global variable outside of any functions/subs but getting an "Expected end of statement" error. Any ideas?

Expected end of statement.PNG

1 Solution

Accepted Solutions
m_woolf
Master II
Master II

Try just:  Public vsubject

View solution in original post

2 Replies
m_woolf
Master II
Master II

Try just:  Public vsubject

marcus_sommer
MVP & Luminary
MVP & Luminary

A variable-declaration in VBScript is without as DataType only:

Public vsubject

- Marcus