I'm starting to learn how to write VBA codes with the VBA for Dummies book. There is this code that I literally copy and paste from the book but it gives me an error.
Can you please help?
Sub ShowValue()
Contents = Worksheets(“Sheet1”).Range(“A1”).Value
MsgBox Contents
End Sub