How could I make the code to insert the texts in center aligned and bold to the appropriate sheet rows mentioned in the code.
Any help on this would be kindly appreciated.
Thanks in advance.
Code: Select all
Private Sub ListBox2_DblClick(ByVal Cancel As MSForms.ReturnBoolean)
Dim r As Long
With Worksheets("NewOrder")
If Range("F14") = "" Then
r = 14
Else
r = .Range("F13").End(xlDown).Row + 1
End If
.Range("F" & r) = Me.ListBox2.Column(0)
End With
End Sub