D
Dave Neve
Hello
I'd like to check if the code below has been inserted in the right place for
it to be at 'module level'
I'd also like to know why there is a compilation error on the = sign
(expected: end of instructions)
Option Explicit
Private intPrivate As Integer =0
Public intPublic As Integer =0
Shared intShared As Integer =0
End Sub
I'm trying to run it on VBA (Word 2002) but it was taken from a VB.NET book.
I'd like to check if the code below has been inserted in the right place for
it to be at 'module level'
I'd also like to know why there is a compilation error on the = sign
(expected: end of instructions)
Option Explicit
Private intPrivate As Integer =0
Public intPublic As Integer =0
Shared intShared As Integer =0
End Sub
I'm trying to run it on VBA (Word 2002) but it was taken from a VB.NET book.