Hello Scott,
try this to copy the content of an active cell to the clipboard.
CurrCellRow = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").CurrentCellRow() CurrCellCol = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").CurrentCellColumn() CurrCellContent = session.findById("wnd[0]/usr/cntlGRID1/shellcont/shell/shellcont[1]/shell").GetCellValue(CurrCellRow, CurrCellCol) Set oIE = CreateObject("InternetExplorer.Application") oIE.Navigate("about:blank") oIE.document.parentwindow.clipboardData.SetData "text", CurrCellContent oIE.Quit 'Now is the content of the cell in the clipboard
Let us know your results.
Cheers
Stefan
Add comment