Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal Hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As Long
Public Const WM_PASTE = &H302
do while not ors.eof
sTexto = trim(ors!micamportf)
unirTextos ( sTexto + vbCrLf)
ors.movenext
loop
function unirTextos(sTexto)
Clipboard.Clear
Clipboard.SetText sTexto, vbCFRTF
SendMessage Me.richtctrol.Hwnd, WM_PASTE, 0, 0
end function

