vidplaylist
Board Regular
- Joined
- Aug 3, 2011
- Messages
- 78
Sales is already sorted with greater number and i want that sales greater than 50 get bold through "do while loop". I write this code but it's not working can someone please help with this.
Sub formatting1()
Dim Sales As Long
Sales = ActiveCell.Value
Do While Sales > 50
ActiveCell.Font.Bold = True
ActiveCell.Offset(1, 0).Activate
Loop
End Sub
Thank you,
Sub formatting1()
Dim Sales As Long
Sales = ActiveCell.Value
Do While Sales > 50
ActiveCell.Font.Bold = True
ActiveCell.Offset(1, 0).Activate
Loop
End Sub
Thank you,