STRTOFILE( htmldesc , "c:\myfragment.htm" ) PUBLIC oie as internetexplorer.application oIE = createobject( "internetexplorer.application" ) oie.silent = .t. oIE.Visible = .f. oIE.Navigate( "c:\myfragment.htm" ) DO WHILE oie.Busy() && Let the page finish navigating ENDDO oie.execwb ( 17 ,2 ,0 , 0 ) && select all oie.execwb ( 12 ,2 ,0 , 0 ) && Copy to clipboard>I presume it should be possible using Windows API to place into clipboard chunk of HTML and set clipboard format as HTML. Could anyone advise a reference to the clipboard samples or just give an example of such API call.