Hi,
I am getting the below error when concerting excel column to rtf.
complier error:method or data member not found.
below is the code i have used.
Private Sub CommandButton1_Click()
Dim i As Integer
i = 2
While Len(Sheet2.Cells(i, 1)) > 0
Sheet1.ctlTwinACRTB1.RTF1Text = ""
If Len(Sheet2.Cells(i, 4)) > 0 Then
Sheet1.ctlTwinACRTB1.RTF1Text = Sheet2.Cells(i, 4)
Sheet2.Cells(i, 6) = Sheet1.ctlTwinACRTB1.RTF1Text
End If
Sheet1.ctlTwinACRTB1.RTF1Text = ""
If Len(Sheet2.Cells(i, 5)) > 0 Then
Sheet1.ctlTwinACRTB1.RTF1Text = Sheet2.Cells(i, 5)
Sheet2.Cells(i, 7) = Sheet1.ctlTwinACRTB1.RTF1Text
End If
i = i + 1
Wend
End Sub
This i quite urgent..so please help me out.
Thanks in advance
Bookmarks