Hello
I am creating Sub for RicthTextbox with its Reference of Line Number
Almost on the net have explored but could have missed out if the narration for the same could have been in different Terms and wordings
Can Someone Help me to correct the below
Code:
Sub LineNumber(ByRef currentRichTextbox As RichTextBox)
Dim lineNo As Integer
currentRichTextbox.Lines(LineNo)
End Sub
OR
Code:
Sub LineNumber(ByRef currentRichTextbox As RichTextBox, ByVal LineNo As Integer)
currentRichTextbox.Lines(LineNo)
End Sub
For both the codes Am Getting Error As
bc30057 too many arguments to Public Overloads Property Lines As String
Your help will always be appreciated
SamD
175