Hi there.
I have a worksheet with multiple columns. Column B is where I want 250 spin buttons to be, and show its results in column C. I did this with a macro I found:
When I run said macro, I have to select all the spin buttons and drag them to column B, since the macro makes them appear towards the left of the sheet.
I was hoping that someone could tell me if there was a way of making these 250 spin buttons appear where I want, like column G then J etc. At the moment I create 250, select one, ctrl+A then drag them. But of course if I add another 250 more and go ctrl+A, all my spin buttons are selected. Only option I found was to ctrl+right click on each of my new spin buttons, but with 250 and more columns to go, I don't think so.
Any ideas?
I have a worksheet with multiple columns. Column B is where I want 250 spin buttons to be, and show its results in column C. I did this with a macro I found:
Code:
Sub add_spinner()
With ActiveSheet
For i = 4 To 235
Set cb = .Shapes.AddFormControl(xlSpinner, 150, i * 30, 120, 30)
cb.ControlFormat.LinkedCell = "E" & i
Next
End With
End Sub
When I run said macro, I have to select all the spin buttons and drag them to column B, since the macro makes them appear towards the left of the sheet.
I was hoping that someone could tell me if there was a way of making these 250 spin buttons appear where I want, like column G then J etc. At the moment I create 250, select one, ctrl+A then drag them. But of course if I add another 250 more and go ctrl+A, all my spin buttons are selected. Only option I found was to ctrl+right click on each of my new spin buttons, but with 250 and more columns to go, I don't think so.
Any ideas?