Code:
ActiveSheet.Shapes("Q1A1").Select
With Selection
.Value = xlOff
.LinkedCell = "Result_DataLISTS!$C$1"
.Display3DShading = False
End With
ActiveSheet.Shapes("Q1A2").Select
With Selection
.Value = xlOff
.LinkedCell = "Result_DataLISTS!$C$1"
.Display3DShading = False
End With
ActiveSheet.Shapes("Q1A3").Select
With Selection
.Value = xlOff
.LinkedCell = "Result_DataLISTS!$C$1"
.Display3DShading = False
End With
ActiveSheet.Shapes("Q1A4").Select
With Selection
.Value = xlOff
.LinkedCell = "Result_DataLISTS!$C$1"
.Display3DShading = False
End With
I have the above code, that essentially needs to be repeated 18 times. "Q1A1", "Q1A2", "Q1A3", "Q1A4" and $C$1 would become "Q2A1", "Q2A2", "Q2A3", "Q2A4" and $C$2 and so on.
Whilst I have used Dim, For and Next for ranges, using the same code for Active.Shapes seems to fail. Is this doable or do I need to have a bulk of code?
Thanks in advance.