Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Handle to existing Excel document
#8
I don't know why fails to get active workbook. Try this:
Macro Macro1571
Code:
Copy      Help
;/exe 1

ExcelSheet es1

;this code is simplified Init version
Excel.Application xlApp._getactive
es1=xlApp.ActiveSheet
out es1 ;;is it 0?

es1.SetCell("OK" 1 22)


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)