below is my code which stops at the red word and gives compile error as shown below.
Code:
[Sub inputbox()
Dim myvalue As Variant
myvalue = [COLOR=#FF0000]inputbox[/COLOR]("Give me some input")
Range("a1").Value = myvalue
End Sub
/CODE]
[B]
Compile error: Wrong number of arguments or invalid property assignment[/B]
Last edited: