hi,

I wanna remove a line from a textbox and I use the following code

VB Code:
  1. ln = "e.g Line 3"
  2. Text1 = Replace(Text1, ln, vbnullstring)

I know it wont work but just to make the idea clear to you

what should I pass to the replace parameter so that it removes that line completely

thanks