cheekybuddha
AWF VIP
- Local time
- Today, 07:36
- Joined
- Jul 21, 2014
- Messages
- 2,991
OK, so there's the problem - your labels are not named consistently.
You have:
Etykieta239
Etykieta_150
The LabelClick() function expects an Integer, but when you create the OnClick handler for Etykieta_150 it looks like:
This is invalid syntax.
So, you must change all labels to use the same format.
Either 1:
Etykieta239
Etykieta150
Or 2:
Etykieta_239
Etykieta_150
If you choose 2, then you must change the Const value:
hth,
d
You have:
Etykieta239
Etykieta_150
The LabelClick() function expects an Integer, but when you create the OnClick handler for Etykieta_150 it looks like:
=LabelClick(_150)
This is invalid syntax.
So, you must change all labels to use the same format.
Either 1:
Etykieta239
Etykieta150
Or 2:
Etykieta_239
Etykieta_150
If you choose 2, then you must change the Const value:
Private Const LABEL_PREFIX As String = "Etykieta_"
hth,
d