Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Excel
#8
If you want to copy cells from Excel and paste in another window, here is how to do it:

Macro Macro1269
Code:
Copy      Help
;/exe 1

;this code gets values of all selected cells
ExcelSheet es.Init
ARRAY(str) a; int i
es.GetCells(a "sel")

;this code types everything in Notepad
act "Notepad"
spe 10
for i 0 a.len
,str& s=a[0 i]
,key (s) Y

This is whole macro. Run it.
Before running this macro, select all cells in a row to be copied.


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)