Hi Guys,

Could somebody have a look at following code?
I thought I had used this before to create a variable but keep getting the subscript out of range error with run time error 9

maand = Worksheets("Sheet2").Range("B2").Value
    MsgBox (maand)
Probably something very basic but I don't see it :/
Thanks.