I am trying to have a pop up box for multiple cells. This is the code I am currently using.
It works great for 1 cell, but not exactly what I need. Is it possible to have a pop up box for multiple cells in the same worksheet? Any help will be greatly appreciated.
Code:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Dim Rng1 As Range
Set rng = Range("A1:B10")
If Intersect(Target, rng) Is Nothing Then Exit Sub
MsgBox "Hi, you have select cell " & Target.Address & vbCrLf & "Please input a number", vbInformation
End Sub
It works great for 1 cell, but not exactly what I need. Is it possible to have a pop up box for multiple cells in the same worksheet? Any help will be greatly appreciated.