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 dezzie for What is wrong with this variable with initial value , Excel VBA

$
0
0

Excel doesn't let you initialize values at declaration as they're already initialized to zero. To do what you want just break it up into two lines.

Dim 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>