I've created an add-in that has this code in it as a module. Does anyone have an idea of how I could create an interface that would allow me to link the individual specified row heights specified in the code below into a user friendly format that would allow the user to change the row heights to their preference?
Probably too complicated of a question but thought I would ask! Thank you!
Probably too complicated of a question but thought I would ask! Thank you!
Code:
Sub RowCycle()
With Selection
If .RowHeight = 15 Then
.RowHeight = 20
ElseIf .RowHeight = 20 Then
.RowHeight = 25
ElseIf .RowHeight = 25 Then
.RowHeight = 5
ElseIf .RowHeight = 5 Then
.RowHeight = 10
Else
.RowHeight = 15
End If
End With
End Sub
Last edited: