Hello again 4 you all...
In my application i have a TextBox named "Me.txt_catre.Text" and a MS Word File (.doc) containig "<<03>>" word that must be replaced with the value from TextBox...
I use this peice of code...
The problem is... if the "Me.txt_catre.Text" contains more than 255 characters as a string... the application gives me error...Code:With myStoryRange.Find .Text = "<<03>>" .Replacement.Text = Me.txt_catre.Text .Wrap = Microsoft.Office.Interop.Word.WdFindWrap.wdFindContinue .Execute(Replace:=Microsoft.Office.Interop.Word.WdReplace.wdReplaceAll) End With
What solution i have to place more than 255 chars into that MS Word file ?
Thanks in advice!




Reply With Quote