I am trying to get an inputbox name a shape within my workbook. This is what I have so far and i am getting a Run-time error ("The specific value is out of range") on the part in red. Any code help would be great.
Code:
Dim MyInput
Sheets("List Form").Select
ActiveSheet.Shapes.Range(Array("BlankTestButton")).Select
Selection.Copy
Sheets("For Copy").Select
Range("A36").Select
ActiveSheet.Paste
Range("B37").Select
InputBox ("What would you like to name this shape?")
Sheets("For Copy").Shapes.Range(Array("BlankTestButton")).Select
[COLOR=Red]Selection.ShapeRange.Name = MyInput[/COLOR]