Quantcast
Channel: What is wrong with this variable with initial value , Excel VBA - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Running Forward for What is wrong with this variable with initial value , Excel VBA

$
0
0

In VBA the above format is not possible

only constants can be used like this :

Const yearnr As Integer = 18

you can use

Dim yearnr As Integer
yearnr = 18 


Public yearnr As Integer
yearnr = 18 

Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>