VBA Macro To Fill 56 Colors In First Column Of A Sheet
'Break The Loop when x=10
Sub AddColor()
Dim X As Integer
For X = 1 To 56
ActiveSheet.Cells(X, 1).Interior.ColorIndex = X
If X = 10 Then Exit For 'Loop Breaks Here
Next X
End Sub
Thanks,Tamatam
Thanks,Tamatam
No comments:
Post a Comment
Hi User, Thank You for visiting My Blog. If you wish, please share your genuine Feedback or comments only related to this Blog Posts. It is my humble request that, please do not post any Spam comments or Advertising kind of comments, which will be Ignored.